Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import ogh throws KeyError: 'PROJ_LIB' #37

Open
keckje opened this issue Apr 22, 2019 · 1 comment
Open

import ogh throws KeyError: 'PROJ_LIB' #37

keckje opened this issue Apr 22, 2019 · 1 comment

Comments

@keckje
Copy link

keckje commented Apr 22, 2019

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
Copy link
Contributor

jphuong commented Apr 23, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants