Hello ,
Hope everyone is safe and in a good health condition!
I’m trying to install the Basemap package and already tried two different ways, but with no success.
First I tried through the Anaconda Navigator. Environments–Not installed–basemap. Proceeded with its instalation but it stays there processing ad eternum and nothing really happens.
Then I tried downloading the package trough this site: https://www.lfd.uci.edu/~gohlke/pythonlibs/#basemap
I downloaded two versions: ’ basemap‑1.2.1‑cp36‑cp36m‑win_amd64.whl’ and ‘basemap‑1.2.1‑cp36‑cp36m‑win32.whl’. I did so because I was not sure on which one to install, since my Python version is the 3.6, on that I was clear regarding which one to download (the cp36) but then I had a Windows 10 64, but a Python 3.6 32 version. Anyway I installed one, it didn’t worked. I installed another one, it didn’t work either! I did install both files using the cmd and the pip install.
The installation part went well no error occurred. The problem was when I went to use the Jupyter Notebook and this error emerged:
pip install basemap
....
Collecting basemap
Note: you may need to restart the kernel to use updated packages.
Could not find a version that satisfies the requirement basemap (from versions: )
No matching distribution found for basemap
And when I try to use for example the mpl_toolkits.basemap module in Jupyter I get this error:
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-13-486e44db2745> in <module>
----> 1 from mpl_toolkits.basemap import Basemap
2
3 safety_pivot = combined.pivot_table(values=['saf_s_11', 'lon', 'lat'],
4 index='school_dist', aggfunc='mean',
5 )
ModuleNotFoundError: No module named 'mpl_toolkits.basemap'
I donnu what to do more to fix this issue, and I really needed to put this to work in my Jupyter Notebook in order to finish a Project using the Basemap!!
Could anyone help me with this issue??
Kind Regards,
Abel