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

Installation issue with Docker Desktop Windows #383

Open
mprevi opened this issue May 2, 2022 · 0 comments
Open

Installation issue with Docker Desktop Windows #383

mprevi opened this issue May 2, 2022 · 0 comments

Comments

@mprevi
Copy link

mprevi commented May 2, 2022

I’m a newbie and I’m trying to install Pyrate on Windows 10 by using Docker as suggested in the installation guide. I’ve installed Git and Docker Desktop for Windows. Then in the Windows PowerShell I’ve executed the following commands:

git clone https://github.com/GeoscienceAustralia/PyRate.git
cd PyRate
docker build -t pyrate-image .

Here some problems with the installation of GDAL appears. Here the error message:

#21 78.54 Collecting GDAL==3.0.2
#21 78.59   Downloading GDAL-3.0.2.tar.gz (576 kB)
#21 78.64      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 576.2/576.2 KB 14.1 MB/s eta 0:00:00
#21 78.69   Preparing metadata (setup.py): started
#21 79.52   Preparing metadata (setup.py): finished with status 'error'
#21 79.53   error: subprocess-exited-with-error
#21 79.53
#21 79.53   × python setup.py egg_info did not run successfully.
#21 79.53   │ exit code: 1
#21 79.53   ╰─> [5 lines of output]
#21 79.53       /venvs/pyrate/lib/python3.7/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'use_2to3_fixers'
#21 79.53         warnings.warn(msg)
#21 79.53       /venvs/pyrate/lib/python3.7/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'use_2to3_exclude_fixers'
#21 79.53         warnings.warn(msg)
#21 79.53       error in GDAL setup command: use_2to3 is invalid.
#21 79.53       [end of output]
#21 79.53
#21 79.53   note: This error originates from a subprocess, and is likely not a problem with pip.
#21 79.53 error: metadata-generation-failed
#21 79.53
#21 79.53 × Encountered error while generating package metadata.
#21 79.53 ╰─> See above for output.
#21 79.53
#21 79.53 note: This is an issue with the package mentioned above, not pip.
#21 79.53 hint: See above for details.
------
executor failed running [/bin/bash -c source /usr/local/bin/virtualenvwrapper.sh     && mkvirtualenv -p python3.7 pyrate     && cd PyRate     && sed -i '/^GDAL/d' requirements.txt     && workon pyrate     && pip install -r requirements.txt -r requirements-dev.txt -r requirements-test.txt     && pip install GDAL==$(gdal-config --version)     && python setup.py install]: exit code: 1
>

image

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