[PyQt] ModuleNotFoundError: No module named 'PyQt5.sip'

Phil Thompson phil at riverbankcomputing.com
Wed Feb 6 21:55:16 GMT 2019


On 6 Feb 2019, at 7:51 pm, Al Z <hfcdocsis at gmail.com> wrote:
> 
> Hello,
> 
> I just went down the journey use trying use pyqtdeploy to make an executable for my PyQt5 app. I finally created a win-64 build after many hours of trial and error. I have hit a wall in the error mentioned above being thrown from the exe. This is happening during the import of the widgets module:
> 
> ``from PyQt5.QtWidgets import *``
> 
> Any help on how to remedy this is greatly appreciated.

Make sure you have "module_name" set in the sip section of your sysroot .json file. See the demo.

Phil



More information about the PyQt mailing list