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' #2133

Closed
iphils opened this issue Sep 20, 2024 · 0 comments · Fixed by #2134
Closed

ModuleNotFoundError: No module named 'pkg_resources' #2133

iphils opened this issue Sep 20, 2024 · 0 comments · Fixed by #2134
Labels
bug Something isn't working

Comments

@iphils
Copy link

iphils commented Sep 20, 2024

I installed geemap successfully and ran import geemap.
Then I get an error stating ModuleNotFoundError: No module named 'pkg_resources'

As pkg_resources is module in setuptools, I installed setuptools which fixed the issue.

Probably, setuptools is one of the dependencies of the geemap library which was missed to be added in the requirements.txt file?

import pkg_resources is in line 23 of geemap\conversion.py file

@iphils iphils added the bug Something isn't working label Sep 20, 2024
@giswqs giswqs mentioned this issue Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant