[PyQt] convert Pyqt5 to executable file

Ahmad Awwad ahmadaw at mellanox.com
Sun Aug 28 12:09:53 BST 2016


Hi, 

But how  can I add PyQt5.sip  ?

I installed this version of python on windows : python-3.5.0-amd64. 

Can you help  ?

Thanks,



Ahmed Awwad
Software Engineer
Asal Technologies
Work: +970 2 2966640 | Cell +972 56 914 1093

-----Original Message-----
From: PyQt [mailto:pyqt-bounces at riverbankcomputing.com] On Behalf Of Florian Bruhin
Sent: Wednesday, August 24, 2016 5:48 PM
To: pyqt at riverbankcomputing.com
Subject: Re: [PyQt] convert Pyqt5 to executable file

> 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/


More information about the PyQt mailing list