[PyQt] ImportError
Florian Bruhin
me at the-compiler.org
Tue Sep 18 09:28:19 BST 2018
Hey,
some ideas and way to further debug this:
On Tue, Sep 18, 2018 at 12:36:33AM -0300, FiFo wrote:
> python configure.py --qmake d:\qt5_32\bin\qmake.exe --static --sip-incdir
> ..\sip-4.19.13.dev1809111822\siplib --sip
Is that the same python you're running test1.py with?
> nmake install
What paths did that install to?
> D:\opencv\resources>python test1.py
> Traceback (most recent call last):
> File "test1.py", line 4, in <module>
> from PyQt5 import QtWidgets
> ImportError: cannot import name QtWidgets
Try running with "python -v" and then check the paths it prints
(probably something like C:\Python27\site-packages\PyQt5 from memory).
Is there really a PyQt installed there?
Florian
--
https://www.qutebrowser.org | me at the-compiler.org (Mail/XMPP)
GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180918/9d05cdbe/attachment.sig>
More information about the PyQt
mailing list