I recently attended a lecture by Rachel Franklin where she talked about the project.
Wanting to try out the software you all built I'm encountering some issues with the docker file.
Following the documentation, I've cloned the repo and created the conda environment. All checks out here.
When trying to start the API I'm encountering the following error:
"ERROR: Service 'worker' failed to build : Build failed"
This is the result of both
'docker-compose up' and trying to rebuild using 'docker-compose up --build --force-recreate'
See the end of the specific error code below:
`#10 45.48 Getting requirements to build wheel: started
10 45.58 Getting requirements to build wheel: finished with status 'error'
10 45.59 error: subprocess-exited-with-error
10 45.59
10 45.59 × Getting requirements to build wheel did not run successfully.
10 45.59 │ exit code: 1
10 45.59 ╰─> [3 lines of output]
10 45.59 :78: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead
10 45.59 WARNING:root:Failed to get options via gdal-config: [Errno 2] No such file or directory: 'gdal-config'
10 45.59 CRITICAL:root: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.
10 45.59 [end of output]
10 45.59
10 45.59 note: This error originates from a subprocess, and is likely not a problem with pip.
10 45.59 error: subprocess-exited-with-error
10 45.59
10 45.59 × Getting requirements to build wheel did not run successfully.
10 45.59 │ exit code: 1
10 45.59 ╰─> See above for output.
10 45.59
10 45.59 note: This error originates from a subprocess, and is likely not a problem with pip.
10 45.72 critical libmamba pip failed to install packages
executor failed running [/usr/local/bin/_dockerfile_shell.sh cd /app && micromamba install -y -n base -f environment.yml && micromamba clean -afy]: exit code: 1
ERROR: Service 'worker' failed to build : Build failed`
Does it seem to be an issue with gdal? I tried installing gdal separately in the environment and come to the same result.
Would you have any pointers on what is wrong and how to solve this?
Hi there,
I recently attended a lecture by Rachel Franklin where she talked about the project.
Wanting to try out the software you all built I'm encountering some issues with the docker file.
Following the documentation, I've cloned the repo and created the conda environment. All checks out here.
When trying to start the API I'm encountering the following error: "ERROR: Service 'worker' failed to build : Build failed"
This is the result of both 'docker-compose up' and trying to rebuild using 'docker-compose up --build --force-recreate'
See the end of the specific error code below:
`#10 45.48 Getting requirements to build wheel: started
10 45.58 Getting requirements to build wheel: finished with status 'error'
10 45.59 error: subprocess-exited-with-error
10 45.59
10 45.59 × Getting requirements to build wheel did not run successfully.
10 45.59 │ exit code: 1
10 45.59 ╰─> [3 lines of output]
10 45.59:78: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead
10 45.59 WARNING:root:Failed to get options via gdal-config: [Errno 2] No such file or directory: 'gdal-config'
10 45.59 CRITICAL:root: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.
10 45.59 [end of output]
10 45.59
10 45.59 note: This error originates from a subprocess, and is likely not a problem with pip.
10 45.59 error: subprocess-exited-with-error
10 45.59
10 45.59 × Getting requirements to build wheel did not run successfully.
10 45.59 │ exit code: 1
10 45.59 ╰─> See above for output.
10 45.59
10 45.59 note: This error originates from a subprocess, and is likely not a problem with pip.
10 45.72 critical libmamba pip failed to install packages
executor failed running [/usr/local/bin/_dockerfile_shell.sh cd /app && micromamba install -y -n base -f environment.yml && micromamba clean -afy]: exit code: 1 ERROR: Service 'worker' failed to build : Build failed`
Does it seem to be an issue with gdal? I tried installing gdal separately in the environment and come to the same result.
Would you have any pointers on what is wrong and how to solve this?
Any help would be much appreciated :)
Best Lukas