Skip to content

import ogh throws KeyError: 'PROJ_LIB' #37

Description

@keckje

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions