달력

4

« 2020/4 »

  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  •  
  •  


 

 

 

오류메시지

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.

 

C:\CodeLab>pip install geopandas

Collecting geopandas

  Downloading https://files.pythonhosted.org/packages/5b/0c/e6c99e561b03482220f00443f610ccf4dce9b50f4b1093d735f93c6fc8c6/geopandas-0.6.2-py2.py3-none-any.whl (919kB)

     |████████████████████████████████| 921kB 656kB/s

Collecting fiona

  Downloading https://files.pythonhosted.org/packages/9d/f4/0a0ddc6174c4a93679b5f1dd3535e7ef8989828e6d5f86112de681f8c87b/Fiona-1.8.11.tar.gz (1.2MB)

     |████████████████████████████████| 1.2MB 819kB/s

    ERROR: Command errored out with exit status 1:

     command: 'c:\python\python36\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Public\\Documents\\ESTsoft\\CreatorTemp\\pip-install-19vhf4do\\fiona\\setup.py'"'"'; __file__='"'"'C:\\Users\\Public\\Documents\\ESTsoft\\CreatorTemp\\pip-install-19vhf4do\\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\Public\Documents\ESTsoft\CreatorTemp\pip-install-19vhf4do\fiona\pip-egg-info'

         cwd: C:\Users\Public\Documents\ESTsoft\CreatorTemp\pip-install-19vhf4do\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.

 

C:\CodeLab>pip install geopandas

Collecting geopandas

  Using cached https://files.pythonhosted.org/packages/5b/0c/e6c99e561b03482220f00443f610ccf4dce9b50f4b1093d735f93c6fc8c6/geopandas-0.6.2-py2.py3-none-any.whl

Requirement already satisfied: pandas>=0.23.0 in c:\python\python36\lib\site-packages (from geopandas) (0.23.0)

Collecting fiona

  Using cached https://files.pythonhosted.org/packages/9d/f4/0a0ddc6174c4a93679b5f1dd3535e7ef8989828e6d5f86112de681f8c87b/Fiona-1.8.11.tar.gz

    ERROR: Command errored out with exit status 1:

     command: 'c:\python\python36\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Public\\Documents\\ESTsoft\\CreatorTemp\\pip-install-1x6wjxvv\\fiona\\setup.py'"'"'; __file__='"'"'C:\\Users\\Public\\Documents\\ESTsoft\\CreatorTemp\\pip-install-1x6wjxvv\\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\Public\Documents\ESTsoft\CreatorTemp\pip-install-1x6wjxvv\fiona\pip-egg-info'

         cwd: C:\Users\Public\Documents\ESTsoft\CreatorTemp\pip-install-1x6wjxvv\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.

 

C:\CodeLab>

 

 

 

 

해결방법

·       geopandas 사용하기 위해서 함께 사용되는 의존성 패키지도 함께 설치해 주어야 합니다.

·       아래 링크를 참조하여 순서대로 해결하시기 바랍니다.

 

https://codedragon.tistory.com/9556

 

 


Posted by codedragon codedragon

댓글을 달아 주세요