Last active
February 18, 2018 19:31
-
-
Save palmerj/a283b4565e37ea8f703d7591d4e1207a to your computer and use it in GitHub Desktop.
Python Environment setup for brew GDAL2 on MacOSX with GDAL framework installed as well (i.e no brew link)
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
export PATH="$(brew --prefix)/opt/python/libexec/bin:$(brew --prefix)/opt/gdal2/bin:$(brew --prefix)/opt/gdal2-python/bin:$PATH" | |
export PYTHONPATH=$(brew --prefix)/lib/python2.7/site-packages:$(brew --prefix)/opt/gdal2-python/lib/python2.7/site-packages/:$PYTHONPATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
export PATH="/usr/local/opt/python/libexec/bin:/usr/local/opt/gdal2/bin:/usr/local/opt/gdal2-python/bin:/usr/local/opt/gdal2-python/libexec/bin:$PATH"
export PYTHONPATH=/usr/local/lib/python2.7/site-packages:/usr/local/opt/gdal2-python/lib/python2.7/site-packages/