在Windows上安装Geopandas的问题 [英] Issues installing Geopandas on windows

查看:120
本文介绍了在Windows上安装Geopandas的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一个教程(逐步)在Windows PC上安装Geopandas?或哪种方法更好?

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

我已经使用anaconda尝试了文档中的解决方案,但最终还是收到了错误消息(甚至创建了建议的环境).我什至尝试按照另一个类似问题中的建议,为不同的相关软件包安装所谓的车轮.对于像我这样刚接触python的人,我正在寻找易于安装的东西,或者在安装此软件包时没有这种东西

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

以下是文档: https://geopandas.org/install.html

推荐答案

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

(已测试)


另一个例子 在Python3.8 32位上说明


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

这篇关于在Windows上安装Geopandas的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆