1.安装Geos
pip install geos
2.下载basemap
http://www.lfd.uci.edu/~gohlke/pythonlibs/#basemap
根据自己安装的Python版本选择,特别注意32和64是指安装的Python的版本,cp后面的数字是Python的版本。(在页面上按ctrl+F,输入basemap快速定位)
3.cmd 下运行
pip install basemap-1.1.0-cp27-cp27m-win32.whl
可能会出现错误

按照提示输入链接会转到https://www.microsoft.com/en-us/download/details.aspx?id=44266,下载安装即可
安装成功后,重新运行 pip install basemap-1.1.0-cp27-cp27m-win32.whl
成功

参考:
http://blog.csdn.net/jolin1993720/article/details/53996966
https://stackoverflow.com/questions/18109859/how-to-install-matplotlib-basemap-module-on-windows-7-with-winpython-or-any-pyt%20%E9%A1%B6
网友评论