I am having a similar problem as to installing gdal using pip. However, I am using Windows 10.
The resulting error when I type pip install gdal
in powershell is
extensions/gdal_wrap.cpp(3085): fatal error C1083: Cannot open include file: 'cpl_port.h': No such file or directory error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
I tried all the methods mentioned in the original question's answer.
P.S.: I would have added this as a comment, but you need minimum 50 reputations and I am new here.