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' (undeclared dependency on setuptools) #93

Closed
gregdan3 opened this issue Jan 14, 2022 · 1 comment · Fixed by #94
Closed

Comments

@gregdan3
Copy link
Contributor

Issue

Importing the limits library in any environment causes the following error:

ModuleNotFoundError: No module named 'pkg_resources'

This is identical to this issue, and resolved as specified (with respect to your environment; i.e. adding setuptools as a dependency to your project).

Expected Behavior

Importing the limits library should cause no issues once it is properly installed.

Resolution

Declare a dependency on setuptools in the setup.py

@gregdan3
Copy link
Contributor Author

Ignore the former two commits; these were tests for my sake, and have been replaced by the third and final commit.

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

Successfully merging a pull request may close this issue.

1 participant