You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing bw2regional I get the following error messages:
proj_create: Cannot find proj.db
proj_create: no database context specified
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.
proj_create: Cannot find proj.db
proj_create: no database context specified
Unable to open EPSG support file gcs.csv. Try setting the GDAL_DATA environment variable to point to the directory containing EPSG csv files.
The text was updated successfully, but these errors were encountered:
It seems that the path to the proj library is not set during installation. Adding the following lines before the import statement resolved the issue:
import os
os.environ["PROJ_LIB"] = r"C:\Programs\miniconda\envs\BrightwayConda\Library\share"
The path must point to the "proj" folder. If the folder is not contained in the above directory, try one of these:
os.environ['PROJ_LIB'] = r'c:\Users\username\AppData\Local\conda\conda\envs\envname\Library\share'
os.environ['PROJ_LIB'] = '<path_to_anaconda>/share/proj'
os.environ['PROJ_LIB'] = r'C:\Users(xxxx)\AppData\Local\Continuum\anaconda3\pkgs\proj4-5.1.0-hfa6e2cd_1\Library\share'
When importing bw2regional I get the following error messages:
The text was updated successfully, but these errors were encountered: