weixin_47759305
weixin_47759305
采纳率0%
2021-03-09 12:44

菜鸟求助,为什么我的basemap不能运行呢?

>>>from mpl_toolkits.basemap import Basemap
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    from mpl_toolkits.basemap import Basemap
  File "D:\Python\lib\site-packages\mpl_toolkits\basemap\__init__.py", line 42, in <module>
    from .proj import Proj
  File "D:\Python\lib\site-packages\mpl_toolkits\basemap\proj.py", line 6, in <module>
    from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (D:\Python\lib\site-packages\matplotlib\cbook\__init__.py)

请求大佬帮帮我,十分感谢!
 

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答