问题描述
我不清楚如何在Windows上安装Matplotlib的底图.也许问题很简单,我需要一些帮助.
It is unclear to me how to install Matplotlib's Basemap on Windows. Maybe the question is straightforward, I need some help.
我遵循了本教程.据我了解,首先应安装GEOS
和PROJ4
,最后应执行matplotlib-1.4.3.win-amd64-py2.7.exe
.
I followed this tutorial. As far as I understand, first, GEOS
and PROJ4
should be installed, and lastly matplotlib-1.4.3.win-amd64-py2.7.exe
should be executed.
我陷入了GEOS的困境.我下载了geos-3.5.0的源代码,不加限制"它,然后转到命令提示符,将目录更改为geos-3.5.0并运行此代码:
I get stuck with GEOS. I downloaded source code of geos-3.5.0, "untarred" it, then I go to a Command Prompt, change directory to geos-3.5.0 and run this:
export d://test
但它不起作用.
推荐答案
使用此下载用于Windows上的底图.
Use this download for basemap on Windows.
对我有用:
pip install basemap-1.0.8-cp34-none-win_amd64.whl
假设您在正确的目录中.
Assuming you're in right directory of course.
这篇关于如何安装Matplotlib的底图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!