Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.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 Can';t在pycharm虚拟环境中安装geopandas_Python_Pycharm_Geopandas_Virtual Environment - Fatal编程技术网

Python Can';t在pycharm虚拟环境中安装geopandas

Python Can';t在pycharm虚拟环境中安装geopandas,python,pycharm,geopandas,virtual-environment,Python,Pycharm,Geopandas,Virtual Environment,我正试图在pycharm的虚拟环境中安装geopandas。但有一条错误消息: Collecting geopandas Using cached geopandas-0.7.0-py2.py3-none-any.whl (928 kB) Collecting fiona Using cached Fiona-1.8.13.post1.tar.gz (1.2 MB) ERROR: Command errored out with exit status 1: comm

我正试图在pycharm的虚拟环境中安装geopandas。但有一条错误消息:

Collecting geopandas
  Using cached geopandas-0.7.0-py2.py3-none-any.whl (928 kB)
Collecting fiona
  Using cached Fiona-1.8.13.post1.tar.gz (1.2 MB)

    ERROR: Command errored out with exit status 1:
     command: 'G:\Practice Prcatice Practice\pydatatest\venv\Scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pycharm-packaging\\fiona\\setup.py'"'"'; __file__='"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pycharm-packaging\\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\User\AppData\Local\Temp\pycharm-packaging\fiona\pip-egg-info'
         cwd: C:\Users\User\AppData\Local\Temp\pycharm-packaging\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.
我尝试了在互联网上找到的所有解决方案,比如:

pip install wheels
pip install pipwin

pipwin install numpy
pipwin install pandas
pipwin install shapely
pipwin install gdal
pipwin install fiona
pipwin install pyproj
pipwin install six
pipwin install rtree
pipwin install geopandas

但对我来说似乎什么都不管用。任何帮助都将不胜感激:)

您是否查看了日志?事件日志具有相同的消息您是否查看了日志?事件日志具有相同的消息