Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib
Traceback (most recent call last):
File "", line 1, in
File "matplotlib.py", line 4, in
import matplotlib.pyplot as plt
ImportError: No module named pyplot
>>> exit()
root@VM-13-111-ubuntu:/home/ubuntu# apt-get install python-matplotlib
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-matplotlib is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 187 not upgraded
为什么会这样呢!!! 我是缺少什么吗 !