2020-12-28
阅读量:
2147
python报错AttributeError: module' pandas' has no attribute' compat'
问:
python报错AttributeError: module' pandas' has no attribute' compat'
答:
可通过更新matplotlib版本为3.0.2来解决此报错,更新代码如下:
pip install matplotlib==3.0.2
如果发现更新速度慢,可在后面指定镜像源来解决,代码如下:
pip install matplotlib==3.0.2 -i https://pypi.tuna.tsinghua.edu.cn/simple






评论(0)


暂无数据
推荐帖子
0条评论
0条评论
0条评论