为Python 3.64安装故障菲奥娜(Windows 64位) 这是我试图安装GeopANDA时遇到的错误,安装菲奥娜失败了。我试图通过WHL从Windows WHL存储库安装菲奥娜,但它告诉我 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.
欢迎光临。所以你可以做几件事。我正在运行python 3.7,win x64为Python 3.64安装故障菲奥娜(Windows 64位) 这是我试图安装GeopANDA时遇到的错误,安装菲奥娜失败了。我试图通过WHL从Windows WHL存储库安装菲奥娜,但它告诉我 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.,python,pip,fiona,Python,Pip,Fiona,欢迎光临。所以你可以做几件事。我正在运行python 3.7,win x64 从中获取GDAL二进制分布 我使用了GDAL-3.1.1-cp37-cp37m-win_amd64.whl >P>下载菲奥娜WHL,具体为FiONA1.8133-CP37.CP3M WiNeAMD64,WHL。 关于安装 首先从上面的2安装GDAL二进制发行版 在同一命令提示会话中设置GDAL_VERSION=3.1.1 修改路径以包含GDAL include文件,特别是GDAL.h 对我来说,位置是%PYTH
Like set PATH=%PYTHON\u HOME%\Lib\site packages\osgeo\include\gdal:%PATH%
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.
嗯
安装->Windows下的更多帮助。
提供使用gdal\U配置环境变量或使用gdal\U版本环境变量的gdal配置路径。
您需要安装gdal并将其设置为环境变量。Fiona-1.8.4-cp34-cp34m-win\U amd64中的cp34
。whl
表示控制盘用于CPython 3.4。为Python3.6找到一个不同的轮子。
S:\so>pip install GDAL-3.1.1-cp37-cp37m-win_amd64.whl
Processing s:\so\gdal-3.1.1-cp37-cp37m-win_amd64.whl
Installing collected packages: GDAL
Successfully installed GDAL-3.1.1
S:\so>set GDAL_VERSION=3.1.1
set PATH=%PYTHON_HOME%\Lib\site-packages\osgeo\include\gdal\:%PATH%
S:\so>pip install Fiona-1.8.13-cp37-cp37m-win_amd64.whl
Processing s:\so\fiona-1.8.13-cp37-cp37m-win_amd64.whl
Requirement already satisfied: click>=4.0 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from
Fiona==1.8.13) (7.1.2)
Requirement already satisfied: attrs>=17 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from
Fiona==1.8.13) (19.3.0)
Requirement already satisfied: six>=1.7 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from
Fiona==1.8.13) (1.14.0)
Requirement already satisfied: click-plugins>=1.0 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from
Fiona==1.8.13) (1.1.1)
Requirement already satisfied: cligj>=0.5 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from
Fiona==1.8.13) (0.5.0)
Requirement already satisfied: gdal~=3.1.1 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from
Fiona==1.8.13) (3.1.1)
Requirement already satisfied: munch in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from
Fiona==1.8.13) (2.5.0)
Installing collected packages: Fiona
Successfully installed Fiona-1.8.13
S:\so>pip install geopandas-0.8.0-py2.py3-none-any.whl
Processing s:\so\geopandas-0.8.0-py2.py3-none-any.whl
Requirement already satisfied: pyproj>=2.2.0 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from
geopandas==0.8.0) (2.6.1.post1)
Requirement already satisfied: fiona in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from
geopandas==0.8.0) (1.8.13)
Requirement already satisfied: pandas>=0.23.0 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from
geopandas==0.8.0) (1.0.5)
Requirement already satisfied: shapely in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from
geopandas==0.8.0) (1.7.0)
Requirement already satisfied: six>=1.7 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from fiona-
>geopandas==0.8.0) (1.14.0)
Requirement already satisfied: munch in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from fiona-
>geopandas==0.8.0) (2.5.0)
Requirement already satisfied: attrs>=17 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from fiona-
>geopandas==0.8.0) (19.3.0)
Requirement already satisfied: cligj>=0.5 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from fiona-
>geopandas==0.8.0) (0.5.0)
Requirement already satisfied: click>=4.0 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from fiona-
>geopandas==0.8.0) (7.1.2)
Requirement already satisfied: click-plugins>=1.0 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from fiona-
>geopandas==0.8.0) (1.1.1)
Requirement already satisfied: gdal~=3.1.1 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from fiona-
>geopandas==0.8.0) (3.1.1)
Requirement already satisfied: numpy>=1.13.3 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from
pandas>=0.23.0->geopandas==0.8.0) (1.19.0)
Requirement already satisfied: python-dateutil>=2.6.1 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from
pandas>=0.23.0->geopandas==0.8.0) (2.8.1)
Requirement already satisfied: pytz>=2017.2 in
c:\users\so\appdata\local\programs\python\python37\lib\site-packages (from
pandas>=0.23.0->geopandas==0.8.0) (2020.1)
Installing collected packages: geopandas
Successfully installed geopandas-0.8.0
S:\so>python
Python 3.7.7 (tags/v3.7.7:d7c567b08f)
Type "help", "copyright", "credits" or "license" for more information.
>>> import geopandas
>>> geopandas.__version__
'0.8.0'
>>> geopandas.__file__
'C:\\Users\\so\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-
packages\\geopandas\\__init__.py'
>>>