[PyQt] convert Pyqt5 to executable file

Florian Bruhin me at the-compiler.org
Wed Aug 24 15:47:40 BST 2016


> I have this Error "missing module named 'PyQt5.sip' - imported by C:\Users\aawwad\AppData\Local\Programs\Python\Python35\lib\site-packages\pyinstaller-3.3.dev0+1804636-       py3.5.egg\PyInstaller\loader\rthooks\pyi_rth_qt5plugins.py"
> 
> Do you know how can we solve this ?

Looking at the PyInstaller code:
https://github.com/pyinstaller/pyinstaller/blob/develop/PyInstaller/loader/rthooks/pyi_rth_qt5plugins.py#L32-L40

It first tries to import sip (which I'd expect to work), and then
tries PyQt5.sip.

So the question is: Why isn't sip available on your system? How did
you install PyQt?

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160824/04119ff1/attachment.sig>


More information about the PyQt mailing list