刚刚下载了一下pandas,报错AttributeError: module 'pandas' has no attribute 'DataFrame',
并且导致我原来使用的matplotlib也有问题,也是同样的报错,不知道怎么解决。
这是matplotlib的运行

这是pandas的运行

刚刚下载了一下pandas,报错AttributeError: module 'pandas' has no attribute 'DataFrame',
并且导致我原来使用的matplotlib也有问题,也是同样的报错,不知道怎么解决。
这是matplotlib的运行


你看看你是不是自己写了一个pandas.py的文件,导致模块引用错误,删掉即可。