pyinstaller报错!
pyinstaller 打包后运行.exe文件提示:failed to excute script pyi_rth_pkgres 应该是你安装的pyinstaller有问题先现在原来的pyinstaller
再从GitHub重新安装pyinstaller
pip uninstall pyinstaller
pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip 没用 你打包时候不带 -w ,然后看下终端显示的报错是什么 Traceback (most recent call last):
File "C:\Users\DELL\AppData\Local\Programs\Python\Python38\Lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py", line 13, in <module>
import pkg_resources as res
File "c:\users\dell\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
exec(bytecode, module.__dict__)
File "site-packages\pkg_resources\__init__.py", line 83, in <module>
File "site-packages\pkg_resources\extern\__init__.py", line 57, in load_module
ImportError: The 'packaging.specifiers' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.
Failed to execute script pyi_rth_pkgres 聂嘉辉 发表于 2020-8-21 20:18
Traceback (most recent call last):
File "C:%users\DELL\AppData\Local\Programs\Python\Python38\Lib ...
还没解决就设最佳{:10_277:} 这种错误我会 聂嘉辉 发表于 2020-8-21 20:28
这种错误我会
你不点回复,别人看不见
页:
[1]