2013-10-02 3 views
0

우분투 12.04 바탕 화면에서 matplotlib 1.1.1을 제거하고 pip install matplotlib를 통해 matplotlib 1.3을 설치하려고했습니다.matplotlib 1.3을 설치할 수 없습니다 - dateutil 때문에 가져 오기가 실패합니다

모든 일 것으로 보인다하지만 지금은 내가하기 matplotlib를 가져올 때 나는 다음과 같은 얻을 :

Cython==0.19.1 
Jinja2==2.7 
MarkupSafe==0.18 
Pygments==1.6 
Sphinx==1.1.3 
argparse==1.2.1 
docutils==0.11 
ipython==1.0.0 
matplotlib==1.3.0 
nose==1.3.0 
numpy==1.7.1 
openpyxl==1.6.2 
pandas==0.12.0-274-gc472099 
pyodbc==3.0.7 
pyparsing==2.0.1 
python-dateutil==2.1 
pytz==2013b 
pyzmq==13.1.0 
scikit-learn==0.13.1 
scipy==0.12.0 
six==1.4.1 
tornado==3.1 
wsgiref==0.1.2 

Dateutil은 다음과 같습니다

Python 2.7.3 (default, Apr 10 2013, 06:20:15) 
[GCC 4.6.3] on linux2 
Type "help", "copyright", "credits" or "license" for more information. 
>>> import matplotlib 
Traceback (most recent call last): 
    File "<stdin>", line 1, in <module> 
    File "/home/radek/remedy_reports/local/lib/python2.7/site-packages/matplotlib/__init__.py", line 110, in <module> 
    raise ImportError("matplotlib requires dateutil") 
ImportError: matplotlib requires dateutil 

문제는 내가 핍 동결을 수행 할 때 내가 얻을 수 있다는 것입니다 분명히 거기에. 누군가가 왜 이런 일이 일어나고 있는지에 관해 밝히면 큰 도움이 될 것입니다!

답변

1

파이핑 작업을 사용하여 python-dateutil을 제거하고 설치합니다.

이제 matplotlib를 올바르게 가져올 수 있습니다.