Traceback (most recent call last):
File "PyInstaller\loader\rthooks\pyi_rth_pkgres.py", line 13, in <module>
File "c:\users\test\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
exec(bytecode, module.__dict__)
File "pkg_resources\__init__.py", line 85, in <module>
ModuleNotFoundError: No module named 'pkg_resources.py2_warn'
[3652] Failed to execute script pyi_rth_pkgres
从最新的 git 源构建的 EXE 似乎在 python 环境之外时不执行。
我使用来自 git 的 pip 安装了最新的 bCNC,它运行良好。
然后我决定使用 make_exe.bat 创建无法加载并出现以下错误的 exe
不幸的是,我对 python 还很陌生,所以我不确定如何解决这两个问题。希望有人能指出我正确的方向。
谢谢