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

ModuleNotFoundError: No module named 'pkg_resources.py2_warn' #114

Closed
OfekShochat opened this issue Aug 8, 2020 · 2 comments
Closed

ModuleNotFoundError: No module named 'pkg_resources.py2_warn' #114

OfekShochat opened this issue Aug 8, 2020 · 2 comments

Comments

@OfekShochat
Copy link

OfekShochat commented Aug 8, 2020

its an issue I'm facing for a while now with 3.8... is this the lack of 3.8 support of pyinstaller? it is the same when I did it like a year ago. (when I tried to do this with a lot of libs. like cx_freeze, pyinstaller directly and more )
this is the traceback:

Traceback (most recent call last):
File "Lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py", line 13, in
File "C:\Users\o\AppData\Local\Programs\Python\Python38-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
exec(bytecode, module.dict)
ModuleNotFoundError: No module named 'pkg_resources.py2_warn'
[25956] Failed to execute script pyi_rth_pkgres

@brentvollebregt
Copy link
Owner

It looks like pypa/setuptools#1963 could give some insight into what is happening here.

Try using setuptools 45.0.0 using pip install --upgrade 'setuptools<45.0.0' - does this fix your issue?

@brentvollebregt
Copy link
Owner

There has been no response by @OfekShochat in more than three months so I'm going to assume this was resolved.

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