Freshwater-Initiative / Observatory

Codebase for water research
MIT License
9 stars 12 forks source link

import ogh throws KeyError: 'PROJ_LIB' #37

Open keckje opened 5 years ago

keckje commented 5 years ago

import ogh Traceback (most recent call last):

File "", line 1, in import ogh

File "C:\ProgramData\Anaconda3\lib\site-packages\ogh__init__.py", line 11, in from .ogh import *

File "C:\ProgramData\Anaconda3\lib\site-packages\ogh\ogh.py", line 26, in from mpl_toolkits.basemap import Basemap

File "C:\ProgramData\Anaconda3\lib\site-packages\mpl_toolkits\basemap__init__.py", line 155, in pyproj_datadir = os.environ['PROJ_LIB']

File "C:\ProgramData\Anaconda3\lib\os.py", line 678, in getitem raise KeyError(key) from None

KeyError: 'PROJ_LIB'

I updated my conda install before installing ogh with: conda install -c conda-forge ogh

Any ideas on how to resolve this error?

jphuong commented 5 years ago

It looks like a few people have already encountered this PROJ_LIB problem. basemap issues