繁体   English   中英

为什么安装 geopandas、Cartopy、Proj 时出错?

[英]Why am getting error on installation of geopandas, Cartopy, Proj?

当我尝试安装 Cartopy 时,不断出现以下错误:

 C:\Users\Justin\Documents\Python Programs>pip install cartopy Collecting cartopy Using cached
> https://files.pythonhosted.org/packages/e5/92/fe8838fa8158931906dfc4f16c5c1436b3dd2daf83592645b179581403ad/Cartopy-0.17.0.tar.gz
> Installing build dependencies ... done
>     Complete output from command python setup.py egg_info:
>     C:\Users\Justin\AppData\Local\Temp\pip-install-cetb0vj7\cartopy\setup.py:171:
> UserWarning: Unable to determine GEOS version. Ensure you have 3.3.3
> or later installed, or installation may fail.
>       '.'.join(str(v) for v in GEOS_MIN_VERSION), ))
>     Proj 4.9.0 must be installed.
> 
>     ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in
> C:\Users\Justin\AppData\Local\Temp\pip-install-cetb0vj7\cartopy\

尝试在终端窗口中逐行执行这些操作,而不是从外部下载.whl文件。 此外,早些时候我尝试使用外部资源,并且由于发生了质量上升。 因此,我建议使用pipwin install

pip install wheel
pip install pipwin
pipwin install numpy
pipwin install pandas
pipwin install shapely
pipwin install gdal
pipwin install fiona
pipwin install pyproj
pipwin install six
pipwin install rtree    
pipwin install geopandas

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM