-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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' #1990
Comments
I'm facing the same problem ☝️ |
We found out that using the inbuilt |
There are issues with imports with setuptools 45.2.0 so we make sure that we limit the one we use for the shade venv to the last version prior. [a] pypa/setuptools#1990 Change-Id: I5501109835db30d713d9a687d55befaf939db6a6
I'm unable to replicate your issue:
Can you perhaps put together a minimal Dockerfile that replicates the issue? |
Was anyone able to figure this out? @ineesalmeida do you mind elaborating on your solution (if you remember... we're using Poetry so not sure if relevant). Seeing this as well. |
Hi @alexscott-ff , could you please share with us a minimal reproducible example that demonstrates a (simplied) situation when this error happens (as mentioned by Jason)? |
The docker environment where we run our tests has been failing since yesterday morning (10th February) with a
ModuleNotFoundError: No module named 'pkg_resources'
error.After some investigation, we noticed it upgraded setuptools to version 45.2.0 on that morning.
Downgrading setuptools to 45.1.0 fixed our issue, and everything is working as expected again.
There might have been some change in 45.2.0 that triggered this issue. Let me know what other information I can provide.
The text was updated successfully, but these errors were encountered: