OSError: dlopen(/opt/homebrew/Cellar/gdal/3.3.3/lib/libgdal.dylib, 0x0006): tried: ‘/opt/homebrew/Cellar/gdal/3.3.3/lib/libgdal.dylib’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/usr/lib/libgdal.dylib’ (no such file), ‘/opt/homebrew/Cellar/gdal/3.3.3/lib/libgdal.29.dylib’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/usr/lib/libgdal.29.dylib’ (no such file)
My gdal path gotten from “brew info gdal”
GDAL_LIBRARY_PATH = ‘/opt/homebrew/Cellar/gdal/3.3.3/lib/libgdal.dylib’