First, Seaborn contains the scatterplot module. However, running the corresponding sentence without syntax error will report an error, because the current Seaborn version is 0.8 or below.
Examples of errors are as follows:
Solution: upgrade Seaborn version! The corresponding statement is: PIP install Seaborn = = number of corresponding versions, for example: PIP install Seaborn = = 0.9.0
Rerun the statement to draw a normal diagram
During this period, CMD may require upgrading, and run for many times: Python – M PIP install — upgrade PIP may be invalid
Error, feedback similar permission problems, specific debugging methods can refer to the following:
https://blog.csdn.net/weixin_ 43870646/article/details/90020874
If: no module named pip.basecommand
It is suggested that you can uninstall the old version and re install the new version. The corresponding steps are as follows. Or you can refer to the author’s method https://blog.csdn.net/GuaPiQ/article/details/100593848
After reloading pip, you can upgrade Seaborn according to the first step above.
How to install CONDA can refer to this article: https://www.jianshu.com/p/edaa744ea47d
Read More:
- Attributeerror: module “Seaborn” has no attribute “lineplot”
- AttributeError:module“seaborn” has no attribute “lineplot”
- AttributeError:module ‘seaborn‘ has no attribute ‘tsplot‘
- Attributeerror: the solution of module ‘urllib’ has no attribute ‘quote’
- AttributeError: module ‘keras.backend‘ has no attribute ‘eager‘
- Attribute Error: ‘XXX‘ object has no attribute ‘module‘
- Solving attributeerror: module ‘Matplotlib’ has no attribute ‘artist’
- Attributeerror: ‘module’ object has no attribute ‘handlers’ — Python sub module import problem
- [error] attributeerror: module ‘SIP’ has no attribute ‘setapi‘
- AttributeError: module ‘pkg_resources‘ has no attribute ‘declare_namespace‘
- Tensorflow reported an error when using session module: attributeerror: module ‘tensorflow’ has no attribute ‘session’, which has been solved
- module ‘tensorflow‘ has no attribute ‘placeholder‘
- Please note that the module “sacrableu” has no “compute blue” attribute
- module ‘os’ has no attribute ‘mknod’
- AttAttributeError: module ‘typing‘ has no attribute ‘NoReturn‘
- Error reporting: attributeerror: module ‘******* has no attribute’ ******* and other problems are solved
- AttributeError: module ‘onnxruntime‘ has no attribute ‘InferenceSession‘
- AttributeError: module ‘os’ has no attribute ‘mknod’
- AttributeError: module ‘onnxruntime‘ has no attribute ‘InferenceSession‘
- AttributeError: module ‘os‘ has no attribute ‘fork‘