You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2026. It is now read-only.
Hello, I have some problem to configure GDAL in my Python environment.
In the "requirement.txt" I specified "GDAL==2.4.2" and
as pre-condition I configured Docker in order to install the needed system dependencies: RUN apt-get update && apt-get install -y \ binutils \ gdal-bin \ python-gdal
During the installation process I get the following error: Building wheel for GDAL (setup.py): started Building wheel for GDAL (setup.py): finished with status 'error' ERROR: Command errored out with exit status 1: command: /env/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-48kodxl1/GDAL/setup.py'"'"'; __file__='"'"'/tmp/pip-install-48kodxl1/GDAL/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-okgsrlrf --python-tag cp37 cwd: /tmp/pip-install-48kodxl1/GDAL/ Complete output (33 lines): WARNING: numpy not available! Array support will not be enabled running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.7 copying gdal.py -> build/lib.linux-x86_64-3.7
.
. compilation terminated. error: command "x86_64-linux-gnu-gcc" failed with exit status 1 ERROR: Failed building wheel for GDAL