I am having several issues when installing pygdal in my Mac OSX El capitan. The procedure is the folowing:
- Install GDAL Libraries from http://www.kyngchaos.com/software/frameworks#gdal_complete
pip install gdal
The output is the following:
.
.
.
extensions/gdal_wrap.cpp:3085:10: fatal error: 'cpl_port.h' file not found
#include "cpl_port.h"
^
2 warnings and 1 error generated.
error: command 'cc' failed with exit status 1
Looks like the installer cannot find the GDAL libraries, or headers (libgdal or gdal-devel in ubuntu).
Where are they placed in OSX?
FYI, the following /Library/Frameworks/GDAL.framework/Programs is into the $PATH variable.
sudo find / -name cpl_port.hand got this:/Library/Frameworks/GDAL.framework/Versions/1.11/Headers/cpl_port.h /opt/local/include/cpl_port.h. I added those directories to my PATH but I am still getting the same error. - Salias