Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precompiled Mac version can't find pkg_resources.py2_warn #107

Closed
chz16 opened this issue Sep 16, 2020 · 1 comment
Closed

Precompiled Mac version can't find pkg_resources.py2_warn #107

chz16 opened this issue Sep 16, 2020 · 1 comment

Comments

@chz16
Copy link

chz16 commented Sep 16, 2020

Trying to run the precompiled version of 1.5.6 on macOS 10.14.6 dies with this trace:

Traceback (most recent call last):
  File "PyInstaller/loader/rthooks/pyi_rth_pkgres.py", line 11, in <module>
  File "/usr/local/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 627, in exec_module
  File "pkg_resources/__init__.py", line 86, in <module>
ModuleNotFoundError: No module named 'pkg_resources.py2_warn'
[32839] Failed to execute script pyi_rth_pkgres

Might be a Setuptools thing? pypa/setuptools#1963

@frozenpandaman
Copy link
Owner

frozenpandaman commented Sep 16, 2020

Oops, sorry about that, and thanks! Seems I still had an old version of PyInstaller installed. Just upgraded from 3.5 to 4.0 and rebuilt it, and tested to make sure it works now! Just updated the zip on the releases page. Thanks again for catching this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants