ImportError: No module named matplotlib.pyplot
2016-11-29 14:59
609 查看
转自:https://my.oschina.net/letiantian/blog/339901
sklearn的网站上不去,准备编译一下在github中的文档:
出现以下错误:
用pip安装:
依然是这个错误,
使用下面的命令安装,就没有问题了:
sklearn的网站上不去,准备编译一下在github中的文档:
$ cd scikit-learn-master/doc $ make html
出现以下错误:
Exception occurred: File "/home/sunlt/Downloads/scikit-learn-master/doc/sphinxext/gen_rst.py", line 850, in generate_file_rst import matplotlib.pyplot as plt ImportError: No module named matplotlib.pyplot The full traceback has been saved in /tmp/sphinx-err-7pCJ3k.log, if you want to report the issue to the developers.
用pip安装:
$ sudo pip install matplotlib
依然是这个错误,
使用下面的命令安装,就没有问题了:
$ sudo apt-get install python-matplotlib
相关文章推荐
- ImportError: No module named matplotlib.pyplot
- ImportError: No module named matplotlib.pyplot安装模块python
- ImportError:No module named matplotlib.pyplot
- ImportError: No module named matplotlib.pyplot
- ImportError: No module named matplotlib.pyplot安装模块python
- matplotlib 使用时遇到的错误:ImportError: No module named six
- ImportError: No module named matplotlib
- jupyter notebook import error: no module named 'matplotlib'
- ubuntu下virtualenv虚拟环境里python报错ImportError: No module named matplotlib.pyplot解决方案
- centos7上matplotlib 无法绘图,报错先ImportError: No module named Tkinter,后_tkinter.TclError: no display name
- linux中ImportError: No module named matplotlib.pyplot
- No module named matplotlib.pyplot
- ImportError: No module named matplotlib.pyplot
- matplotlib显示AttributeError: 'module' object has no attribute 'verbose'
- Python Matplotlib AttributeError: 'module' object has no attribute 'popall'
- python导入包失败ModuleNotFoundError: No module named 'matplotlib.pyplot'; 'matplotlib' is not a package
- 关于spyder ImportError: No module named matplotib.pyplot
- 使用matplotlib报错,AttributeError: module 'matplotlib' has no attribute 'verbose'
- Python配置matplotlib--no module named six matplotlib
- matplotlib show() 立即返回,无效,no module named _backend_gdk