
1 BashDas OP 哪位大神熟悉的,麻烦支个招吧。 |
2 coderluan 2022-05-05 20:03:32 +08:00 插件你得用 qt 带的 windeployqt 工具进行复制,自己复制可能会拉下一些资源文件的。 https://doc.qt.io/qtforpython/deployment-pyinstaller.html |
3 debuggerx 2022-05-05 20:04:12 +08:00 可以试试在你的 Windows 8.1 / Windows server 2012 R2 上打包,然后尝试在 Windows11 下运行…… |
4 ysc3839 2022-05-05 20:07:44 +08:00 via Android 需要具体错误才能知道是什么问题,看看有没有 debug mode 之类的选项,让它显示具体错误信息 |
7 louiswong2099 2022-05-05 23:02:53 +08:00 建议使用 nuitka ,能避免很多问题,也支持很多插件。例如 pyqt5 等等,编译成单一文件或者文件夹发布 |
8 louiswong2099 2022-05-05 23:05:40 +08:00 |
9 BashDas OP @louiswong2099 尝试过,因为我是 pyside6 ,打包出来后,没有任何反应。 |
10 BashDas OP 尝试了 3.9 和 pyqt5 ,pyinstaller 就没问题了,应该是 pyqt6 不支持 win10 以下的系统吧。 |