3

私はPythonが初めてです。誰かがエラーの処理方法を教えてくれますか"ImportError: matplotlib requires dateutil"? 私は同様の質問をしましたが、そこに記載されている手順に従ってフォルダーをダウンロードし、matplotlibフォルダーもあるsite-packagesフォルダーで更新しました。

しかし、それでもこのエラーが発生します。誰かが私にこれに対する解決策を提案できますか? よろしくお願いします。

Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    import matplotlib.pyplot as plt
  File "C:\Python32\lib\site-packages\matplotlib\__init__.py", line 112, in <module>
    raise ImportError("matplotlib requires dateutil")
ImportError: matplotlib requires dateutil

これは私が得ている正確なエラーです。

4

1 に答える 1

5

何らかの理由で、python-dateutil をアンインストールして再インストールすると、この問題が修正されます。

pip uninstall python-dateutil
pip install python-dateutil
于 2013-12-24T18:49:03.390 に答える