Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/362.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/linq/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我能';在Python中安装菲奥娜包_Python_Pip_Installation_Geopandas_Fiona - Fatal编程技术网

我能';在Python中安装菲奥娜包

我能';在Python中安装菲奥娜包,python,pip,installation,geopandas,fiona,Python,Pip,Installation,Geopandas,Fiona,我正在尝试pip安装geopandas,每次尝试时,都会弹出以下错误: 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\hp\appdata\local\programs\python\python37\python.exe' -c 'import sys, se

我正在尝试pip安装geopandas,每次尝试时,都会弹出以下错误:

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\hp\appdata\local\programs\python\python37\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\HP\\AppData\\Local\\Temp\\pip-install-r8dvuzzr\\fiona\\setup.py'"'"'; __file__='"'"'C:\\Users\\HP\\AppData\\Local\\Temp\\pip-install-r8dvuzzr\\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\HP\AppData\Local\Temp\pip-pip-egg-info-cl_m3849'
         cwd: C:\Users\HP\AppData\Local\Temp\pip-install-r8dvuzzr\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.
我使用Python3.7.7在VSCode中完成这项工作

我应该如何提供gdal配置的路径,或者我应该做什么来解决这个问题?

也许可以试试conda

 conda install geopandas

这回答了你的问题吗?