1

I want to plot a map using Basemap. When I run

from mpl_toolkits.basemap import Basemap

I get

ModuleNotFoundError: No module named 'mpl_toolkits.basemap'

I tried to do

conda install -c conda-forge basemap-data-hires 

but still getting the same no module thing as before, I did try the things from this post ModuleNotFoundError: No module named 'mpl_toolkits.basemap' but still no results

1 Answers1

1

Open your terminal and try this -

python -m pip install basemap

If working on a notebook, try using -

!python -m pip install basemap

Refer to https://github.com/matplotlib/basemap#installation for more installationrelated support.

indraneel
  • 66
  • 3