AttributeError: module ‘matplotlib‘ has no attribute ‘interactive‘
程序员文章站
2022-03-18 20:40:42
...
import cvxopt 时
安装
conda install -c conda-forge cvxopt
成功之后如果不行,需要卸载numpy 重新安装numpy
之后会发现
%matplotlib inline
import matplotlib.pyplot as plt
When using %matplotlib inline in Jupyter notebook I’m getting error:
AttributeError: module ‘matplotlib’ has no attribute ‘interactive’
需要将numpy scipy matplotlib scikit-learn 全部卸载,按照这个顺序重新安装一遍
推荐阅读
-
module ‘seaborn‘ has no attribute ‘scatterplot‘解决方案
-
AttributeError: module ‘community‘ has no attribute ‘best_partition‘ 问题解决方法
-
module ‘community‘ has no attribute ‘best_partition‘ [已解决]
-
【python】解决AttributeError: module ‘scipy.misc‘ has no attribute ‘toimage‘问题
-
【Tensorflow】Linux下Tensorflow报错:AttributeError: module ‘tensorflow‘ has no attribute ‘xxxx‘
-
AttributeError: 'module' object has no attribute 'main'
-
AttributeError: module 'sklearn' has no attribute 'linear_model'
-
解决Keras报错AttributeError: 'NoneType' object has no attribute 'inbound_nodes'
-
AttributeError: ‘NoneType‘ object has no attribute ‘origin‘解决办法
-
AttributeError: ‘set‘ object has no attribute ‘append‘解决办法