ImportError: The ‘appdirs‘ package is required; normally this is bundled with this package so if you
pyinstaller
·
pyinstall 打包的软件,运行时出现该错误
原因是项目自带的python虚拟机环境没有pyinstall。
而我的打包命令是:
pyinstaller -p D:\pythonProject–winauto\venv\Lib\site-packages -F 工具强化测试.py
修改打包命令,不指定site-packages即可
pyinstaller -F 工厂工具升级强化测试v5.0.2.2_20230403–5.2.0.py
更多推荐
所有评论(0)