Python打包的exe在别的电脑里不能使用

我用pyinstaller将一个main.py打包成了exe,自己电脑可以使用,但是把exe文件复制到其他电脑上为什么会报This application failed to start because not Qt platform plugin could be initialized.Reinstalling the application may fix this problem.

img

可以参考https://www.cnblogs.com/xiaoqianbook/articles/14786089.html

包没打包全

少了qt的dll?打包推荐用nuitka哦
给你我收藏的链接
https://zhuanlan.zhihu.com/p/341099225
https://zhuanlan.zhihu.com/p/133303836
https://zhuanlan.zhihu.com/p/141810934