ERROR: Command errored out with exit status 1:
command: 'c:\users\administrator\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-install-1o2q05tc\\gdal\\setup.py'"'"'; __file__='"'"'C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-install-1o2q05tc\\gdal\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Administrator\AppData\Local\Temp\pip-record-ai_ogwjo\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\administrator\appdata\local\programs\python\python39\Include\gdal'
cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-1o2q05tc\gdal\
Complete output (32 lines):
WARNING: numpy not available! Array support will not be enabled
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
copying gdal.py -> build\lib.win-amd64-3.9
copying ogr.py -> build\lib.win-amd64-3.9
copying osr.py -> build\lib.win-amd64-3.9
copying gdalconst.py -> build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\osgeo
copying osgeo\gdal.py -> build\lib.win-amd64-3.9\osgeo
copying osgeo\gdalconst.py -> build\lib.win-amd64-3.9\osgeo
copying osgeo\gdalnumeric.py -> build\lib.win-amd64-3.9\osgeo
copying osgeo\gdal_array.py -> build\lib.win-amd64-3.9\osgeo
copying osgeo\gnm.py -> build\lib.win-amd64-3.9\osgeo
copying osgeo\ogr.py -> build\lib.win-amd64-3.9\osgeo
copying osgeo\osr.py -> build\lib.win-amd64-3.9\osgeo
copying osgeo\__init__.py -> build\lib.win-amd64-3.9\osgeo
c:\users\administrator\appdata\local\programs\python\python39\lib\site-packages\setuptools\lib2to3_ex.py:36: SetuptoolsDeprecationWarning: 2to3 support is deprecated. If the project still requires Python 2 support, please migrate to a single-codebase solution or employ an independent conversion process.
warnings.warn(
Fixing build\lib.win-amd64-3.9\gdal.py build\lib.win-amd64-3.9\ogr.py build\lib.win-amd64-3.9\osr.py build\lib.win-amd64-3.9\gdalconst.py build\lib.win-amd64-3.9\osgeo\gdal.py build\lib.win-amd64-3.9\osgeo\gdalconst.py build\lib.win-amd64-3.9\osgeo\gdalnumeric.py build\lib.win-amd64-3.9\osgeo\gdal_array.py build\lib.win-amd64-3.9\osgeo\gnm.py build\lib.win-amd64-3.9\osgeo\ogr.py build\lib.win-amd64-3.9\osgeo\osr.py build\lib.win-amd64-3.9\osgeo\__init__.py
Skipping optional fixer: ws_comma
Fixing build\lib.win-amd64-3.9\gdal.py build\lib.win-amd64-3.9\ogr.py build\lib.win-amd64-3.9\osr.py build\lib.win-amd64-3.9\gdalconst.py build\lib.win-amd64-3.9\osgeo\gdal.py build\lib.win-amd64-3.9\osgeo\gdalconst.py build\lib.win-amd64-3.9\osgeo\gdalnumeric.py build\lib.win-amd64-3.9\osgeo\gdal_array.py build\lib.win-amd64-3.9\osgeo\gnm.py build\lib.win-amd64-3.9\osgeo\ogr.py build\lib.win-amd64-3.9\osgeo\osr.py build\lib.win-amd64-3.9\osgeo\__init__.py
Skipping optional fixer: ws_comma
running build_ext
building 'osgeo._gdal' extension
building 'osgeo._gdalconst' extension
building 'osgeo._osr' extension
building 'osgeo._ogr' extension
building 'osgeo._gnm' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools":
https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\administrator\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-install-1o2q05tc\\gdal\\setup.py'"'"'; __file__='"'"'C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-install-1o2q05tc\\gdal\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Administrator\AppData\Local\Temp\pip-record-ai_ogwjo\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\administrator\appdata\local\programs\python\python39\Include\gdal' Check the logs for full command output.