I\'m trying to install GDAL through pip. But I\'m getting this error:
extensions/gdal_wrap.cpp:3089:27: fatal error: cpl_vsi_error.h: No such file or directo
I had to include the header files as well to successfully install gdal:
sudo pip3 install GDAL==$(gdal-config --version | awk -F'[.]' '{print $1"."$2}') --global-option=build_ext --global-option="-I/usr/include/gdal"
Note: Using Python 3 and gdal was already installed on centOS