AttributeError: module ‘seaborn‘ has no attribute ‘scatterplot‘

AttributeError: module ‘seaborn‘ has no attribute ‘scatterplot‘,第1张

AttributeError: module ‘seaborn‘ has no attribute ‘scatterplot‘

我找到很多博客,说这是因为seaborn的版本不对,我就去升级seaborn了,发现仍然是报这个错误。
经过排查,pip list发现里面有个叫做sns的包,版本是0.1
我是import seaborn as sns了,并不清楚这个sns包是什么
卸掉sns包就可以了,pip uninstall sns

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/4827848.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-11-10
下一篇2022-11-10

发表评论

登录后才能评论

评论列表(0条)

    保存