I have been work with gdal in python 2.7 in windows 10 and Pycharm, and I can't fix the GDAL_DATA path in the environment. Because that I got this message:
ERROR 4: Unable to open EPSG support file gcs.csv. Try setting the GDAL_DATA environment variable to point to the directory containing EPSG csv files.
I try to use command line:
set GDAL_DATA='c:/Users/User/share/epsg_csv/'
And try to use the function inside the python code:
import os
os.environ["GDAL_DATA"] = 'c:/Users/User/share/epsg_csv/'
Any suggestion?