I am having several issues when installing pygdal in my Mac OSX El capitan. The procedure is the folowing:
pip install gdal
extensions/gdal_wrap.cpp:3085:10: fatal error: 'cpl_port.h' file not found
2 warnings and 1 error generated.
error: command 'cc' failed with exit status 1
I finally (with a little help from Cam_Aust) solved the problem !!!
Here is what I did:
sudo find / -name cpl_port.h, My output was:
After this, you can now
pip install gdal:
Collecting gdal Using cached GDAL-2.1.0.tar.gz Installing collected packages: gdal Running setup.py install for gdal ... done Successfully installed gdal-2.1.0