basemap ImportError: No module named 'mpl_toolkits.basemap'

前端 未结 3 733
醉话见心
醉话见心 2021-01-05 15:42
from mpl_toolkits.basemap import Basemap  

gives

ImportError: No module named \'mpl_toolkits.basemap\'  

I inst

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-05 16:42

    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
    

提交回复
热议问题