为了账号安全,请及时绑定邮箱和手机立即绑定

我安装 Geopandas 时出了什么问题?

我安装 Geopandas 时出了什么问题?

暮色呼如 2023-10-31 15:57:35
我已按照官方说明进行操作,并尝试了pip install git+git://github.com/geopandas/geopandas.git和pip install geopandas,但我得到的只是以下内容。我不是电脑高手,根本看不懂这个。有人可以帮我弄清楚我应该做什么才能成功安装吗geopandas?PS D:\Python\Scripts> pip install git+git://github.com/geopandas/geopandas.gitCollecting git+git://github.com/geopandas/geopandas.git  Cloning git://github.com/geopandas/geopandas.git to c:\users\ariel\appdata\local\temp\pip-req-build-mzuz5obuRequirement already satisfied: pandas>=0.24.0 in d:\python\lib\site-packages (from geopandas==0.8.0+52.g7e595d0) (1.0.3)Collecting shapely>=1.6  Using cached Shapely-1.7.1-cp38-cp38-win_amd64.whl (1.0 MB)Collecting fiona>=1.8  Using cached Fiona-1.8.17.tar.gz (1.3 MB)    ERROR: Command errored out with exit status 1:     command: 'd:\python\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ariel\\AppData\\Local\\Temp\\pip-install-x28x2nrd\\fiona\\setup.py'"'"'; __file__='"'"'C:\\Users\\ariel\\AppData\\Local\\Temp\\pip-install-x28x2nrd\\fiona\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\ariel\AppData\Local\Temp\pip-pip-egg-info-kqm2six3'         cwd: C:\Users\ariel\AppData\Local\Temp\pip-install-x28x2nrd\fiona\    Complete output (1 lines):    A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
查看完整描述

1 回答

?
森林海

TA贡献2011条经验 获得超2个赞

Conda install some-package 挂起(解决环境:失败)


查看完整回答
反对 回复 2023-10-31
  • 1 回答
  • 0 关注
  • 62 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信