Contents of articles
Preface text
preface
When drawing the diagram, I learned a new library and encountered bugs, but fortunately, I found a solution
text
The specific problem is that the version is wrong, and 0.9 is OK. You can check the version through the command:
PIP freeze | grep Seaborn
or
PIP3 freeze | grep Seaborn
you can check the version through CONDA
CONDA install - C Anaconda Seaborn = 0.9.0
for details Some packages are not included in the default channels of CONDA, such as cudatoolkit-8.0, cudnn, and so on. At this time, you only need to add – C Anaconda after the CONDA install command
or pip:
PIP3 install Seaborn = = 0.9.0
to install the corresponding version
it is recommended to use pip, and the matching image is very fast. There seems to be no network error on the image of CONDA Tsinghua.
Then, there may be version errors in Python 3.6. The following lists the libraries with version problems that I encountered, and gives the possible version
numpy = = 1.15.0
SciPy = = 1.0.0
panda = = 1.0.0
Read More:
- AttributeError:module“seaborn” has no attribute “lineplot”
- AttributeError:module ‘seaborn‘ has no attribute ‘tsplot‘
- Module ‘Seaborn’ has no attribute ‘scatterplot’ solution
- AttributeError: module ‘keras.backend‘ has no attribute ‘eager‘
- AttributeError: module ‘pkg_resources‘ has no attribute ‘declare_namespace‘
- Error reporting: attributeerror: module ‘******* has no attribute’ ******* and other problems are solved
- AttributeError: module ‘numpy‘ has no attribute ‘getbuffer‘
- Solve the problem of attributeerror: module ‘SciPy’ has no attribute ‘Stats’
- Solving attributeerror: module ‘Matplotlib’ has no attribute ‘artist’
- [error] attributeerror: module ‘SIP’ has no attribute ‘setapi‘
- AttributeError: module ‘scipy.misc’ has no attribute ‘imread’
- AttributeError: module ‘os’ has no attribute ‘mknod’
- Attributeerror: ‘module’ object has no attribute ‘handlers’ — Python sub module import problem
- Attributeerror: the solution of module ‘urllib’ has no attribute ‘quote’
- AttributeError: module ‘onnxruntime‘ has no attribute ‘InferenceSession‘
- AttributeError: module ‘onnxruntime‘ has no attribute ‘InferenceSession‘
- Solving attributeerror: module ‘urllib’ has no attribute ‘request’
- AttributeError: module ‘sacrebleu‘ has no attribute ‘compute_bleu‘
- AttributeError: module ‘torch’ has no attribute’_six’ [The problem is solved after restart]
- AttributeError: module ‘os‘ has no attribute ‘fork‘