from mpl_toolkits.basemap import Basemap
ImportError: No module named 'mpl_toolkits.basemap'
I installed basemap with conda
[email protected]:~$ conda install basemap Solving environment: done # All requested packages already installed.
I am running ubuntu 15.04, Python3.4, matplotlib 2.1.1, numpy 1.8.2
How do I fix?
Try to install it with this command:
conda install -c conda-forge basemap
“Only the ‘crude’ and ‘low’, resolution datasets are installed by default” .You may need to install the following for high resolution:
conda install -c conda-forge basemap-data-hires
I think you need to install from source, not via
conda, as per the docs :
try install basemap from source
pip install https://github.com/matplotlib/basemap/archive/master.zip