Thank you, this worked! Maybe this should be mentioned on the Download page? I think it is a bit incomplete in general: Nothing on macOS and the Windows section just mentions Conda and no alternatives (like gisinternals.com and OSGeo4W). Maybe it could be expanded?
Marius > Am 11.01.2021 um 19:18 schrieb Chris Marsh <chris.ma...@usask.ca>: > > Hi, > You need to have the gdal binaries installed before pip install gdal will > work. Specifically, pip install gdal installs the python bindings for gdal. > > In my opinion on mac, the easiest way is to install gdal via homebrew. Then > the configuration utility gdal-info should be on the path and pip install > GDAL should work > https://pypi.org/project/GDAL/ <https://pypi.org/project/GDAL/> > > Going the homebrew route for gdal will ensure you have everything needed for > gdal to work and avoids the complication of having to compile gdal yourself. > > Personally, I use gdal from base homebrew and then use this repackaging of > the python gdal bindings. I've found it to be more reliable with venvs. > https://github.com/nextgis/pygdal <https://github.com/nextgis/pygdal> > > Both methods should work though, > > Cheers > Chris
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev