Issues installing Geopandas on windows

假如想象 提交于 2020-05-27 18:34:24

问题


Is there a tutorial (step by step) to install geopandas on a windows pc? or which way works better?

I have tried the solutions in the documentation using anaconda but I ended up receiving errors (even creating an environment as recommended). I even tried installing what are called wheels for the different associated packages as suggested in another similar question. For someone new like me into python I was looking for something easy to follow to install, or there is not such thing when installing this package

Here the documentation: https://geopandas.org/install.html


回答1:


After manually downloading the WHL files (whose names are listed below) from Unofficial Windows Binaries for Python Extension Packages onto a unique folder, open a command Prompt and type Illustrated on Python3.7 64bit

cd C:\path\to\the\folder\that\contains\the\WHL\files
pip3.7 install GDAL-3.0.4-cp37-cp37m-win_amd64.whl && setx GDAL_VERSION "3.0.4"
pip3.7 install Fiona-1.8.13-cp37-cp37m-win_amd64.whl
pip3.7 install geopandas-0.7.0-py3-none-any.whl

(tested)


Another example Illustrated on Python3.8 32bit
cd C:\path\to\the\folder\that\contains\the\WHL\files
pip3.8 install GDAL-3.0.4-cp38-cp38-win32.whl && setx GDAL_VERSION "3.0.4"
pip3.8 install Fiona-1.8.13-cp38-cp38-win32.whl
pip3.8 install geopandas-0.7.0-py3-none-any.whl


来源:https://stackoverflow.com/questions/61416724/issues-installing-geopandas-on-windows

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!