[PySide] PySide2 installed but not working

Alexey Vihorev vihorev at gmail.com
Wed Oct 19 23:34:56 CEST 2016


Wait a sec… PyQt4 means you are fine with Qt4 and don’t need Qt5, right? Then you can use PySide1, it’s actually quite stable and no need to compile etc – just “pip install” it. PySide2 is work in progress for those who need Qt5 bindings. And BTW – Qt5 indeed restructured modules and classes. So maybe even PySide2 is actually working in your instance.

 

From: PySide [mailto:pyside-bounces+vihorev=gmail.com at qt-project.org] On Behalf Of Spencer Parkin
Sent: Thursday, October 20, 2016 12:24 AM
To: pyside at qt-project.org
Subject: Re: [PySide] PySide2 installed but not working

 

I gave up on PySide and switched to PyQt4.  Works like a charm.

 

I was able to get wxPython working in 15 minutes too, BTW.

 

PySide1/2 needs some serious help.  I'm not smart enough to get it installed.

 

On Wed, Oct 19, 2016 at 2:24 PM, Spencer Parkin <spencertparkin at gmail.com> wrote:

Hi,

 

I built PySide2, 32-bit from sources, but when I run the tetrix.py example, I get...

 

AttributeError: module 'PySide2.QtNetwork' has no attribute 'QSslSocket'.

 

If I comment out the call to QtNetwork.QSlSocket.suppertsSsl(), then get another telling error...

 

AttributeError: module 'PySide2.QtGui' has no attribute 'QWidget'.

 

It sounds like to me that my installation is completely wacked-up.  Qwidget can't be found inside QtGui?!  How is that even possible?

 

It's taken me over 4 hours to get to this point.  I had to re-run the install several times after making dependency fixes each time.  Please don't tell me I need to re-run the install.

 

Any help would be greatly appreciated.  I'm ready to give up and just use wxPython...It might be more reliable.

 

--Sp

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20161020/d8e1f4fb/attachment.html>


More information about the PySide mailing list