打包过程很多文章都有,可以参考这3篇:
完整流程:
https://blog.youkuaiyun.com/wangle_08/article/details/79235719
含图标1:
https://blog.youkuaiyun.com/humanking7/article/details/80421898
含图标2:
https://blog.youkuaiyun.com/BearStarX/article/details/81054134#commentBox
但是最后没有打包成功,提示: Cannot find existing PyQt5 plugin directories
解决方法,超级简单(网上其他的方法太复杂看不懂):
安装最新的版本即可:
pip install pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip
以官网为准
https://pyinstaller.readthedocs.io/en/stable/when-things-go-wrong.html#getting-the-latest-version