[PyQt] Building PyQt5 on Windows

Phil Thompson phil at riverbankcomputing.com
Sun Jun 4 09:22:44 BST 2017

On 4 Jun 2017, at 1:57 am, Wallboy <wallboy at wallboy.ca> wrote:
> "ImportError: DLL load failed: The specified module could not be found."
> The exact same issue as explained here: https://github.com/pyqt/python-qt5/wiki/Updating-the-repository#bundling. How is it to know where to find the DLLs? I see them all generated in the build /release folders, but they are not copied to the correct location after nmake install? The wheels version has an actual __init__.py file pointing to the Qt directory containing all those dlls. Whereas my __init__.py file doesn't have that at all. You mentioned only the commercial version does this for you. So for the non commercial version, we are just expected to know how to manually copy the DLL files to the correct location?

No, nmake install copies everything to where it needs to be.

> I must be missing something or doing something wrong.

Yes. Is the Qt bin directory on PATH?


More information about the PyQt mailing list