Created
March 3, 2020 08:52
-
-
Save palmerj/07f13eaa6b774f431dac1e83409e1be8 to your computer and use it in GitHub Desktop.
Install GDAL python binding using MacOSX framework
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget https://files.pythonhosted.org/packages/dc/d5/90339b48bdcabc76124eaa058a32d796963a05624eb418ed5ea5af7db9fa/GDAL-2.4.2.tar.gz | |
| tar -xpf GDAL-2.4.2.tar.gz | |
| cd GDAL-2.4.2 | |
| python setup.py build_ext -I/Library/Frameworks/GDAL.framework/Versions/2.4/Headers -L/Library/Frameworks/GDAL.framework/Versions/2.4/unix/lib --gdal-config /Library/Frameworks/GDAL.framework/Versions/2.4/unix/bin/gdal-config | |
| python setup.py build | |
| python setup.py install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment