【发布时间】:2018-04-16 02:57:50
【问题描述】:
我看到一些帖子说这个问题已经解决了,但是我仍然无法使用 Python 3.6.4、PyQt 5.10.1 和 Pyinstaller 3.3.1 成功编译。
收到大量警告(如下所示)并且生成的可执行文件无法正常工作。
WARNING: lib not found: api-ms-win-crt-runtime-l1-1-0.dll dependency of C:\users\justin\appdata\local\programs\python\python36-32\lib\site-packages\PyQt5\Qt\plugins\bearer\qgenericbearer.dll type errors.
我尝试在命令中包含 python 目录,但没有骰子。当前使用此命令:
pyinstaller --paths "C:\Users\Justin\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\PyQt5\Qt\bin" "..\main.py"
有人遇到过这个问题吗?
【问题讨论】:
-
尝试更新您的 pyinstaller 版本。
-
谢谢,我使用的是最新版本 3.3.1,但仍然收到警告。
标签: python windows pyqt pyqt5 pyinstaller