I am trying to install GDAL in virtual environment based on the various solutions out there.
However the download itself already fails:
$ pip install
A workaround to that problem is to
/Library/Frameworks/GDAL.framework/Versions/1.10/
and copy all files in there/venv/lib/python2.7/site-packages
and paste the copied files in thereafter install gdal using these steps on host:
sudo apt-get install gdal-bin
sudo apt-get install libgdal-dev
After that use
pip install GDAL==$(gdal-config --version) --global-option=build_ext --global-option="-I/usr/include/gdal"
This should work like charm
The workaround given by @user1738154 didn't work as expected for me so went ahead and installed GDAL using HomeBrew then using pip into my Virtual environment.
$ brew install gdal
(venv)$ pip install GDAL
Everything compiled and ran like a charm.