更新时间:2023-11-22 14:38:28
如果您正在使用pycharm,并且在当前工作目录中具有matplotlib.py,则会收到此错误.只需删除或重命名matplotlib.py文件,它将起作用.
If you are using pycharm and have matplotlib.py in your current working directory than you get this error. Just delete or rename the matplotlib.py file and it will work.