How to fix “ImportError: unable to find Qt5Core.dll on PATH” after pyinstaller bundled the python application

后端 未结 5 934
滥情空心
滥情空心 2021-01-05 06:01

Can\'t run QT based GUI application bundled by pyinstaller, the console output shows it is due to an import error:

ImportError: unable to find

5条回答
  •  臣服心动
    2021-01-05 06:15

    Assuming you don't absolutely need PyQt5 version 5.13.0, the easiest fix is to simply downgrade PyQt5 to version 5.12.2 using:

    pip install pyqt5==5.12.2

    and your executable will work as expected.

提交回复
热议问题