Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A potentail issue with GDAL ON windows #633

Open
lwasser opened this issue Dec 3, 2020 · 1 comment
Open

A potentail issue with GDAL ON windows #633

lwasser opened this issue Dec 3, 2020 · 1 comment

Comments

@lwasser
Copy link

lwasser commented Dec 3, 2020

Requirement already satisfied: requests in c:\hostedtoolcache\windows\python\3.8.6\x64\lib\site-packages (from earthpy==0.9.2) (2.25.0)
Collecting geopandas
  Downloading geopandas-0.8.1-py2.py3-none-any.whl (962 kB)
Collecting fiona
  Downloading Fiona-1.8.18.tar.gz (1.3 MB)
    ERROR: Command errored out with exit status 1:
     command: 'c:\hostedtoolcache\windows\python\3.8.6\x64\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-install-gr_c79wa\\fiona_2ca5e720cfbe4209820b6f4ce67c6dda\\setup.py'"'"'; __file__='"'"'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-install-gr_c79wa\\fiona_2ca5e720cfbe4209820b6f4ce67c6dda\\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\runneradmin\AppData\Local\Temp\pip-pip-egg-info-5gpnkxh0'
         cwd: C:\Users\runneradmin\AppData\Local\Temp\pip-install-gr_c79wa\fiona_2ca5e720cfbe4209820b6f4ce67c6dda\
    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.
Error: Process completed with exit code 1.

this is just a note to circle back on this. this could be happening because on a pip based install we know we might have gdal and spatial dependency issues but i want to record it in case it's something bigger.... for the time being i've turned off the windows build for linting and docs but what is happening in this build is hte package is being installed using pip install -e . so i should try to install on a windows machine before moving forward to see what happens.

@lwasser
Copy link
Author

lwasser commented Dec 3, 2020

i wondering if @nkorinek fix to install gdal 2 (specifically to install from conda forge) would fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant