Basemap import error in PyCharm — KeyError: 'PROJ_LIB'

前端 未结 9 598
生来不讨喜
生来不讨喜 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:14

    I faced same problem. I installed anaconda and install conda install -c anaconda basemap.

    I used Anaconda built in IDE named "Spyder". Spyder is better than pycharm. only problem with spyder is lack of intellisense.

    I solved problem of Proj4 by setting path.

    Other problem kernel restarting when loading of .json larger file dataset.

    I use notepad++ and 010 editor to re-save file in small chunks and at last I merged all outputs.

提交回复
热议问题