pyinstaller打包,fail to execute script pyi_rth_qt5plugins

守望描边大师 2016-11-22 10:40:47
环境
Python3.5.2_64bit
Windows 8.1
Pyinstaller Development版
下载网址:http://www.pyinstaller.org/

最后出来的exe双击打开提示
FATAL ERROR
fail to execute script pyi_rth_qt5plugins

程序是用PyQt5写的
Pyinstaller官网要求的pywin32 , pypiwin 和 pefile几个包都装了。
我还检查了pyinstaller安装在python的包里确实是有 pyi_rth_qt5plugins.py 这个脚本的。
但是不知道为什么打包后,exe双击会出现这个问题

...全文
1444 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
李牧大将军 2017-04-22
  • 打赏
  • 举报
回复 1
你这个问题太简单了吧 我如果也是这样的问题就好了 pyinstaller --paths C:/****/Python/Python35-32/Lib/site-packages/PyQt5/Qt/bin -F -w ****.py 把你python中pyQT5的路径指定下就好了

37,743

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • WuKongSecurity@BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧