pyinstaller3.6 封装python3.7的代码出错
封装没有问题
运行就出错
心态崩了
EXE运行结果如下:
Traceback (most recent call last):
File "site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py", line 13, in <module>
File "d:\python\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 86, in <module>
ModuleNotFoundError: No module named 'pkg_resources.py2_warn'
[388] Failed to execute script pyi_rth_pkgres
有大佬可以帮忙解决一下吗?