Problem Description:
Import bar_ chart_ Race report error
Recently, I was importing bar_ chart_ Error: attributeerror: module 'SIP' has no attribute 'setapi'
imported package:
import bar_chart_race as bcr
Just run the imported statement and an error will be reported: attributeerror: module 'SIP' has no attribute 'setapi'
terms of settlement:
Finally, I found that the reason for this error is that the version of Matplotlib library is too high. The version I reported is 3.3.2. If I downgrade it to 3.3.0, there will be no problem;
Uninstall first: PIP install Matplotlib code>
Re install: PIP install Matplotlib = = 3.3.0 code>
Problem solving!!
Read More:
- Solving attributeerror: module ‘Matplotlib’ has no attribute ‘artist’
- AttributeError: module ‘torch’ has no attribute’_six’ [The problem is solved after restart]
- AttributeError: module ‘keras.backend‘ has no attribute ‘eager‘
- AttributeError: module ‘scipy.misc’ has no attribute ‘imread’
- Solving attributeerror: module ‘Matplotlib’ has no attribute ‘plot‘
- Attributeerror: ‘module’ object has no attribute ‘handlers’ — Python sub module import problem
- AttributeError:module“seaborn” has no attribute “lineplot”
- AttributeError: module ‘sacrebleu‘ has no attribute ‘compute_bleu‘
- AttributeError: module ‘os’ has no attribute ‘mknod’
- Solving attributeerror: module ‘urllib’ has no attribute ‘request’
- AttributeError:module ‘seaborn‘ has no attribute ‘tsplot‘
- Error reporting: attributeerror: module ‘******* has no attribute’ ******* and other problems are solved
- Attributeerror: module “Seaborn” has no attribute “lineplot”
- AttributeError: module ‘os‘ has no attribute ‘fork‘
- AttributeError: module ‘onnxruntime‘ has no attribute ‘InferenceSession‘
- AttributeError: module ‘onnxruntime‘ has no attribute ‘InferenceSession‘
- AttributeError: module…ops‘ has no attribute ‘_TensorLike‘, ValueError: `updates` argument..eager
- AttributeError: module ‘pkg_resources‘ has no attribute ‘declare_namespace‘
- Attributeerror: the solution of module ‘urllib’ has no attribute ‘quote’
- AttributeError: module ‘numpy‘ has no attribute ‘getbuffer‘