python+matplotlib,安装了无数遍总是不成功
用的Python2.7.9,ImportError: matplotlib requires dateutil,ImportError: matplotlib requires pyparsing,No module name six这三个问题已经解决。但依旧出错。>>> import matplotlib
Traceback (most recent call last):
File "<pyshell#18>", line 1, in <module>
import matplotlib
File "C:\Python27\lib\site-packages\matplotlib\__init__.py", line 124, in <module>
from matplotlib.rcsetup import (defaultParams,
File "C:\Python27\lib\site-packages\matplotlib\rcsetup.py", line 26, in <module>
from matplotlib.colors import is_color_like
File "C:\Python27\lib\site-packages\matplotlib\colors.py", line 59, in <module>
import matplotlib.cbook as cbook
AttributeError: 'module' object has no attribute 'cbook'
Python 3.5.1,用pip install matplotlib安装,一次成功,完全没问题
难道你们只知道pip install matplotlib这一种安装方式吗?
手动下载安装包 然后 pip install c:\matplotlib.tar
页:
[1]