C:\Users\white>pip install C:\Users\white\Downloads\geopandas-0.8.0-py2.py3-none-any.whl
Processing c:\users\white\downloads\geopandas-0.8.0-py2.py3-none-any.whl
Requirement already satisfied: shapely in c:\users\white\desktop\python\lib\site-packages (from geopandas==0.8.0) (1.7.0)
Collecting pyproj>=2.2.0
Downloading pyproj-2.6.1.post1-cp36-cp36m-win_amd64.whl (17.3 MB)
|████████████████████████████████| 17.3 MB 3.3 MB/s
Requirement already satisfied: pandas>=0.23.0 in c:\users\white\desktop\python\lib\site-packages (from geopandas==0.8.0) (0.24.1)
Collecting fiona
Using cached Fiona-1.8.13.post1.tar.gz (1.2 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\white\desktop\python\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\white\\AppData\\Local\\Temp\\pip-install-wt55_vfn\\fiona\\setup.py'"'"'; __file__='"'"'C:\\Users\\white\\AppData\\Local\\Temp\\pip-install-wt55_vfn\\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\white\AppData\Local\Temp\pip-install-wt55_vfn\fiona\pip-egg-info'
cwd: C:\Users\white\AppData\Local\Temp\pip-install-wt55_vfn\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.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
WARNING: You are using pip version 20.0.2; however, version 20.1.1 is available.
You should consider upgrading via the 'c:\users\white\desktop\python\python.exe -m pip install --upgrade pip' command.
这是我在尝试安装 geopandas 时遇到的错误,它在安装 Fiona 时失败。我试图通过 Windows whl 存储库中的 whl 安装 fiona,但它告诉我
C:\Users\white>pip install C:\Users\white\Downloads\Fiona-1.8.4-cp34-cp34m-win_amd64.whl
ERROR: Fiona-1.8.4-cp34-cp34m-win_amd64.whl is not a supported wheel on this platform.
WARNING: You are using pip version 20.0.2; however, version 20.1.1 is available.
You should consider upgrading via the 'c:\users\white\desktop\python\python.exe -m pip install --upgrade pip' command.