[PyQt] pyqtdeploy Windows error - Qt5Core.dll?!

Phil Thompson phil at riverbankcomputing.com
Wed Jul 31 13:27:10 BST 2019


On 31/07/2019 08:54, Rob Kent wrote:
> So, I created brand new, clean windows 10 install and used the
> pyqt-demo application in the pyqtdeploy source to create the sysroot.
> 
> I now get the following error:
> 
> Traceback (most recent call last):
>   File "pyqt-demo.py", line 12, in <module>
>   File "bootstrap.py", line 983, in _find_and_load
>   File "bootstrap.py", line 953, in _find_and_load_unlocked
>   File "bootstrap.py", line 219, in _call_with_frames_removed
>   File "bootstrap.py", line 983, in _find_and_load
>   File "bootstrap.py", line 967, in _find_and_load_unlocked
>   File "bootstrap.py", line 668, in _load_unlocked
>   File "bootstrap.py", line 638, in _load_backward_compatible
>   File ":/PyQt5/__init__.py", line 41, in <module>
>   File ":/PyQt5/__init__.py", line 33, in find_qt
> ImportError: unable to find Qt5Core.dll on PATH
> 
> My understanding is that (Py)Qt5 has been built statically and there
> are no DLLs… 

When using the demo you should use the versions shown in the demo 
screenshots. pyqtdeploy will always lag behind in support for the latest 
versions.

Phil


More information about the PyQt mailing list