domlysz / BlenderGIS

Blender addons to make the bridge between Blender and geographic data
GNU General Public License v3.0
7.75k stars 1.35k forks source link

GDAL Python binding unavailable #819

Open sylwesterdigital opened 1 year ago

sylwesterdigital commented 1 year ago

MacOS Monterey 12.6 Blender 3.6.4

It does not display anything when following these steps:

Screenshot 2023-10-14 at 08 24 45 Screenshot 2023-10-14 at 08 24 51 Screenshot 2023-10-14 at 08 24 58

Just empty page - no map

How to Reproduce

Open Blender from command line:

bin /Applications/Blender.app/Contents/MacOS/Blender
Read prefs: "/Users/sylwestermielniczuk/Library/Application Support/Blender/3.6/config/userpref.blend"

Error message

Device with name Apple M1 Pro supports metal minimum requirements
METAL API - DETECTED GPU: Apple M1 Pro
WARN (bgl): source/blender/python/generic/bgl.c:2662 BPyInit_bgl: 'bgl' imported without an OpenGL backend. Please update your add-ons to use the 'gpu' module. In Blender 4.0 'bgl' will be removed.
DEBUG:BlenderGIS-master.core.checkdeps:GDAL Python binding unavailable
DEBUG:BlenderGIS-master.core.checkdeps:PyProj available
DEBUG:BlenderGIS-master.core.checkdeps:Pillow available
DEBUG:BlenderGIS-master.core.checkdeps:ImageIO Freeimage plugin available

I tried to install GDAL from the Blender Python bin directory, this is the full log:

➜  bin ./python3.10 -m pip install GDAL                 
Collecting GDAL
  Using cached GDAL-3.7.2.tar.gz (777 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: GDAL
  Building wheel for GDAL (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [184 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-11.00-arm64-cpython-310
      creating build/lib.macosx-11.00-arm64-cpython-310/osgeo
      copying osgeo/gnm.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo
      copying osgeo/__init__.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo
      copying osgeo/gdalnumeric.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo
      copying osgeo/osr.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo
      copying osgeo/gdal.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo
      copying osgeo/ogr.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo
      copying osgeo/gdal_array.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo
      copying osgeo/gdalconst.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo
      creating build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_pansharpen.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_proximity.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_merge.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_retile.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_polygonize.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/ogr_layer_algebra.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_calc.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/pct2rgb.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal2xyz.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/__init__.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_sieve.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_fillnodata.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdalmove.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_edit.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/ogrmerge.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/rgb2pct.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal2tiles.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdalcompare.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdalattachpct.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      creating build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/tile_extent_from_raster.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gcps2wld.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gcps2vec.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal2grd.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_create_pdf.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/hsv_merge.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/tigerpoly.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/tolatlong.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/make_fuzzer_friendly_archive.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_rm.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/dump_jp2.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/jpeg_in_tiff_extract.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/crs2crs2grid.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_ls.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/validate_gpkg.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/ogr2vrt.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_cp.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/vec_tr.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdalchksum.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_remove_towgs84.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_lut.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/classify.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/wcs_virtds_params.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/ogr_build_junction_table.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_rmdir.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/get_soundg.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdalimport.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/mkgraticule.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/val_repl.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/__init__.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/magphase.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/fix_gpkg.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_zip.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/ogrupdate.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/loslas2ntv2.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/build_jp2_from_xml.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/load2odbc.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_vrtmerge.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdalident.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/esri2wkt.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gcps2ogr.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/assemblepoly.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/validate_jp2.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/validate_cloud_optimized_geotiff.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/densify.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/epsg_tr.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_mkdir.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/vec_tr_spat.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/fft.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdallocationinfo.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdalcopyproj.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/histrep.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/ogr_dispatch.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/ogrinfo.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdalinfo.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/rel.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdalfilter.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_auth.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/ogr2ogr.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      creating build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/osr_util.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/color_palette.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/util.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/numpy_util.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/__init__.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/batch_creator.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/gdal_argparse.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/color_table.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/rectangle.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/progress.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/extent_util.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/raster_creation.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/base.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/array_util.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      running build_ext
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c gdal_python_cxx11_test.cpp -o gdal_python_cxx11_test.o
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c gdal_python_cxx11_test.cpp -o gdal_python_cxx11_test.o -std=c++11
      creating var
      creating var/folders
      creating var/folders/dk
      creating var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn
      creating var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c /var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmpiar_whxk.cpp -o var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmpiar_whxk.o -Wno-error=unused-command-line-argument-hard-error-in-future
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      1 warning generated.
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c /var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmp6pxznd7g.cpp -o var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmp6pxznd7g.o -Wno-error=unused-command-line-argument-hard-error-in-future
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      1 warning generated.
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c /var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmpn377ly5o.cpp -o var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmpn377ly5o.o -Wno-error=unused-command-line-argument-hard-error-in-future
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      1 warning generated.
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c /var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmpe2r3qp8p.cpp -o var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmpe2r3qp8p.o -Wno-error=unused-command-line-argument-hard-error-in-future
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      1 warning generated.
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c /var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmpn3h7jtx7.cpp -o var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmpn3h7jtx7.o -Wno-error=unused-command-line-argument-hard-error-in-future
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      1 warning generated.
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c /var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmp6ymo299n.cpp -o var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmp6ymo299n.o -Wno-error=unused-command-line-argument-hard-error-in-future
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      1 warning generated.
      building 'osgeo._gdal' extension
      building 'osgeo._gdalconst' extension
      building 'osgeo._osr' extension
      building 'osgeo._ogr' extension
      creating build/temp.macosx-11.00-arm64-cpython-310
      building 'osgeo._gnm' extension
      creating build/temp.macosx-11.00-arm64-cpython-310
      creating build/temp.macosx-11.00-arm64-cpython-310
      building 'osgeo._gdal_array' extension
      creating build/temp.macosx-11.00-arm64-cpython-310/extensions
      creating build/temp.macosx-11.00-arm64-cpython-310/extensions
      creating build/temp.macosx-11.00-arm64-cpython-310/extensions
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c extensions/gdal_wrap.cpp -o build/temp.macosx-11.00-arm64-cpython-310/extensions/gdal_wrap.o -std=c++11 -Wno-error=unused-command-line-argument-hard-error-in-future -I/opt/homebrew/Cellar/gdal/3.7.2_1/include
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c extensions/gnm_wrap.cpp -o build/temp.macosx-11.00-arm64-cpython-310/extensions/gnm_wrap.o -std=c++11 -Wno-error=unused-command-line-argument-hard-error-in-future -I/opt/homebrew/Cellar/gdal/3.7.2_1/include
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c extensions/gdal_array_wrap.cpp -o build/temp.macosx-11.00-arm64-cpython-310/extensions/gdal_array_wrap.o -std=c++11 -Wno-error=unused-command-line-argument-hard-error-in-future -I/opt/homebrew/Cellar/gdal/3.7.2_1/include
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c extensions/ogr_wrap.cpp -o build/temp.macosx-11.00-arm64-cpython-310/extensions/ogr_wrap.o -std=c++11 -Wno-error=unused-command-line-argument-hard-error-in-future -I/opt/homebrew/Cellar/gdal/3.7.2_1/include
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c extensions/osr_wrap.cpp -o build/temp.macosx-11.00-arm64-cpython-310/extensions/osr_wrap.o -std=c++11 -Wno-error=unused-command-line-argument-hard-error-in-future -I/opt/homebrew/Cellar/gdal/3.7.2_1/include
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c extensions/gdalconst_wrap.c -o build/temp.macosx-11.00-arm64-cpython-310/extensions/gdalconst_wrap.o -Wno-error=unused-command-line-argument-hard-error-in-future -I/opt/homebrew/Cellar/gdal/3.7.2_1/include
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      extensions/gdal_array_wrap.cpp:179:11: fatal error: 'Python.h' file not found
      # include <Python.h>
                ^~~~~~~~~~
      extensions/gnm_wrap.cpp:180:11: fatal error: 'Python.h' file not found
      # include <Python.h>
                ^~~~~~~~~~
      extensions/osr_wrap.cpp:180:11: fatal error: 'Python.h' file not found
      # include <Python.h>
                ^~~~~~~~~~
      extensions/ogr_wrap.cpp:180:11: fatal error: 'Python.h' file not found
      # include <Python.h>
                ^~~~~~~~~~
      extensions/gdal_wrap.cpp:180:11: fatal error: 'Python.h' file not found
      # include <Python.h>
                ^~~~~~~~~~
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      extensions/gdalconst_wrap.c:156:11: fatal error: 'Python.h' file not found
      # include <Python.h>
                ^~~~~~~~~~
      1 warning and 1 error generated.
      1 warning and 1 error generated.
      1 warning and 1 error generated.
      1 warning and 1 error generated.
      1 warning and 1 error generated.
      1 warning and 1 error generated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for GDAL
  Running setup.py clean for GDAL
Failed to build GDAL
Installing collected packages: GDAL
  Running setup.py install for GDAL ... error
  error: subprocess-exited-with-error

  × Running setup.py install for GDAL did not run successfully.
  │ exit code: 1
  ╰─> [180 lines of output]
      running install
      /Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build/lib.macosx-11.00-arm64-cpython-310
      creating build/lib.macosx-11.00-arm64-cpython-310/osgeo
      copying osgeo/gnm.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo
      copying osgeo/__init__.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo
      copying osgeo/gdalnumeric.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo
      copying osgeo/osr.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo
      copying osgeo/gdal.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo
      copying osgeo/ogr.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo
      copying osgeo/gdal_array.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo
      copying osgeo/gdalconst.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo
      creating build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_pansharpen.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_proximity.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_merge.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_retile.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_polygonize.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/ogr_layer_algebra.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_calc.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/pct2rgb.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal2xyz.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/__init__.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_sieve.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_fillnodata.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdalmove.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal_edit.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/ogrmerge.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/rgb2pct.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdal2tiles.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdalcompare.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      copying gdal-utils/osgeo_utils/gdalattachpct.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils
      creating build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/tile_extent_from_raster.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gcps2wld.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gcps2vec.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal2grd.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_create_pdf.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/hsv_merge.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/tigerpoly.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/tolatlong.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/make_fuzzer_friendly_archive.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_rm.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/dump_jp2.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/jpeg_in_tiff_extract.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/crs2crs2grid.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_ls.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/validate_gpkg.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/ogr2vrt.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_cp.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/vec_tr.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdalchksum.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_remove_towgs84.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_lut.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/classify.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/wcs_virtds_params.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/ogr_build_junction_table.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_rmdir.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/get_soundg.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdalimport.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/mkgraticule.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/val_repl.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/__init__.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/magphase.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/fix_gpkg.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_zip.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/ogrupdate.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/loslas2ntv2.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/build_jp2_from_xml.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/load2odbc.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_vrtmerge.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdalident.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/esri2wkt.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gcps2ogr.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/assemblepoly.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/validate_jp2.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/validate_cloud_optimized_geotiff.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/densify.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/epsg_tr.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_mkdir.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/vec_tr_spat.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/fft.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdallocationinfo.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdalcopyproj.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/histrep.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/ogr_dispatch.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/ogrinfo.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdalinfo.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/rel.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdalfilter.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/gdal_auth.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      copying gdal-utils/osgeo_utils/samples/ogr2ogr.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/samples
      creating build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/osr_util.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/color_palette.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/util.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/numpy_util.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/__init__.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/batch_creator.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/gdal_argparse.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/color_table.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/rectangle.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/progress.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/extent_util.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/raster_creation.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/base.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      copying gdal-utils/osgeo_utils/auxiliary/array_util.py -> build/lib.macosx-11.00-arm64-cpython-310/osgeo_utils/auxiliary
      running build_ext
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c gdal_python_cxx11_test.cpp -o gdal_python_cxx11_test.o
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c gdal_python_cxx11_test.cpp -o gdal_python_cxx11_test.o -std=c++11
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c /var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmpv10609g4.cpp -o var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmpv10609g4.o -Wno-error=unused-command-line-argument-hard-error-in-future
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      1 warning generated.
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c /var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmp3xpy4kn6.cpp -o var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmp3xpy4kn6.o -Wno-error=unused-command-line-argument-hard-error-in-future
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      1 warning generated.
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c /var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmpo4bynps8.cpp -o var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmpo4bynps8.o -Wno-error=unused-command-line-argument-hard-error-in-future
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      1 warning generated.
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c /var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmp8lh978dk.cpp -o var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmp8lh978dk.o -Wno-error=unused-command-line-argument-hard-error-in-future
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      1 warning generated.
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c /var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmppo2xxhbs.cpp -o var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmppo2xxhbs.o -Wno-error=unused-command-line-argument-hard-error-in-future
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      1 warning generated.
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c /var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmp7txsjmir.cpp -o var/folders/dk/pkx3nmyd7y3dy6gbbhhkpsz80000gn/T/tmp7txsjmir.o -Wno-error=unused-command-line-argument-hard-error-in-future
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      1 warning generated.
      building 'osgeo._gdal' extension
      building 'osgeo._gdalconst' extension
      building 'osgeo._osr' extension
      creating build/temp.macosx-11.00-arm64-cpython-310
      creating build/temp.macosx-11.00-arm64-cpython-310
      building 'osgeo._ogr' extension
      creating build/temp.macosx-11.00-arm64-cpython-310/extensions
      creating build/temp.macosx-11.00-arm64-cpython-310/extensions
      creating build/temp.macosx-11.00-arm64-cpython-310/extensions
      building 'osgeo._gnm' extension
      building 'osgeo._gdal_array' extension
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c extensions/ogr_wrap.cpp -o build/temp.macosx-11.00-arm64-cpython-310/extensions/ogr_wrap.o -std=c++11 -Wno-error=unused-command-line-argument-hard-error-in-future -I/opt/homebrew/Cellar/gdal/3.7.2_1/include
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c extensions/gdalconst_wrap.c -o build/temp.macosx-11.00-arm64-cpython-310/extensions/gdalconst_wrap.o -Wno-error=unused-command-line-argument-hard-error-in-future -I/opt/homebrew/Cellar/gdal/3.7.2_1/include
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c extensions/gdal_array_wrap.cpp -o build/temp.macosx-11.00-arm64-cpython-310/extensions/gdal_array_wrap.o -std=c++11 -Wno-error=unused-command-line-argument-hard-error-in-future -I/opt/homebrew/Cellar/gdal/3.7.2_1/include
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c extensions/gdal_wrap.cpp -o build/temp.macosx-11.00-arm64-cpython-310/extensions/gdal_wrap.o -std=c++11 -Wno-error=unused-command-line-argument-hard-error-in-future -I/opt/homebrew/Cellar/gdal/3.7.2_1/include
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c extensions/gnm_wrap.cpp -o build/temp.macosx-11.00-arm64-cpython-310/extensions/gnm_wrap.o -std=c++11 -Wno-error=unused-command-line-argument-hard-error-in-future -I/opt/homebrew/Cellar/gdal/3.7.2_1/include
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/brecht/dev/build_darwin/deps/Release/sqlite/include -I/Users/brecht/dev/build_darwin/deps/Release/bzip2/include -I/Users/brecht/dev/build_darwin/deps/Release/lzma/include -I/Users/brecht/dev/build_darwin/deps/Release/zlib/include -mmacosx-version-min=11.00 -arch arm64 -mmacosx-version-min=11.00 -arch arm64 -I/Users/brecht/dev/build_darwin/deps/Release/python/include/python3.10 -I/Applications/Blender.app/Contents/Resources/3.6/python/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/Cellar/gdal/3.7.2_1/include -c extensions/osr_wrap.cpp -o build/temp.macosx-11.00-arm64-cpython-310/extensions/osr_wrap.o -std=c++11 -Wno-error=unused-command-line-argument-hard-error-in-future -I/opt/homebrew/Cellar/gdal/3.7.2_1/include
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      extensions/gdalconst_wrap.c:156:11: fatal error: 'Python.h' file not found
      # include <Python.h>
                ^~~~~~~~~~
      extensions/gdal_array_wrap.cpp:179:11: fatal error: 'Python.h' file not found
      # include <Python.h>
                ^~~~~~~~~~
      extensions/ogr_wrap.cpp:180:11: fatal error: 'Python.h' file not found
      # include <Python.h>
                ^~~~~~~~~~
      extensions/gdal_wrap.cpp:180:11: fatal error: 'Python.h' file not found
      # include <Python.h>
                ^~~~~~~~~~
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
      extensions/gnm_wrap.cpp:180:11: fatal error: 'Python.h' file not found
      # include <Python.h>
                ^~~~~~~~~~
      extensions/osr_wrap.cpp:180:11: fatal error: 'Python.h' file not found
      # include <Python.h>
                ^~~~~~~~~~
      1 warning and 1 error generated.
      1 warning and 1 error generated.
      1 warning and 1 error generated.
      1 warning and 1 error generated.
      1 warning and 1 error generated.
      1 warning and 1 error generated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> GDAL

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
swiss-knight commented 1 month ago

@sylwesterdigital Check this out: https://github.com/domlysz/BlenderGIS/issues/928 It should hopefully help you solve your issue.