[PyQt] Odd problem with debug build of pyqt5

Scott Kitterman debian at kitterman.com
Wed Jul 23 05:09:57 BST 2014


With our current python3 debug build of pyqt5 I get this error:

>>> import PyQt5
>>> import PyQt5.QtCore
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-34dm-i386-
linux-gnu.so: undefined symbol: PyModule_Create2

The non-debug build imports PyQt5.QtCore.  Both were built with the same GCC, 
the same python3, the same Sip, and the same PyQt5.

Any suggestions on how to troubleshoot this?

For reference, this is filed as Debian bug 755767:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755767

Thanks,

Scott K


More information about the PyQt mailing list