Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Installation issue with Docker Desktop Windows #383

@mprevi

Description

@mprevi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions