Basemap import error in PyCharm — KeyError: 'PROJ_LIB'

前端 未结 9 596
生来不讨喜
生来不讨喜 2020-11-30 02:27

I tried to use Basemap package to plot a map by PyCharm, but I got something wrong with

from mpl_toolkits.basemap import Basemap`

And the T

9条回答
  •  孤城傲影
    2020-11-30 03:02

    I was not able to solve this problem but I was able to find an alternate, use CartoPy. basemap is being maintained for python 2.7 users. CartoPy is a better alternative

提交回复
热议问题