You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using pip install basemap, raise exception ModuleNotFoundError: No module named 'distutils.util'
Solved by pip install setuptools, then raise exception AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
Downgrade to python 3.10 to solve.
Based on this Stack Overflow issue, your problem appears to be the use of an outdated version of pip which contains symbols removed in Python 3.12, so I would expect that this is not a direct problem caused by basemap, but by your pip installation.
I would suggest that you try to upgrade pip and install basemap again. If this still does not work, please feel free to reopen the issue.
Activity
cvanelteren commentedon Jan 24, 2025
Can you checkout #611? If there are some issues I can include it in the PR
molinav commentedon Feb 24, 2025
Based on this Stack Overflow issue, your problem appears to be the use of an outdated version of
pipwhich contains symbols removed in Python 3.12, so I would expect that this is not a direct problem caused bybasemap, but by yourpipinstallation.I would suggest that you try to upgrade
pipand installbasemapagain. If this still does not work, please feel free to reopen the issue.