At some point in the last few days, Matplotlib stopped working for me on OS X. Here is the error I get when trying to import matplotlib :
Traceback (most recent call last): File "/my/path/to/script/my_script.py", line 15, in <module> import matplotlib.pyplot as plt File "/Library/Python/2.7/site-packages/matplotlib/pyplot.py", line 34, in <module> from matplotlib.figure import Figure, figaspect File "/Library/Python/2.7/site-packages/matplotlib/figure.py", line 40, in <module> from matplotlib.axes import Axes, SubplotBase, subplot_class_factory File "/Library/Python/2.7/site-packages/matplotlib/axes/__init__.py", line 4, in <module> from ._subplots import * File "/Library/Python/2.7/site-packages/matplotlib/axes/_subplots.py", line 10, in <module> from matplotlib.axes._axes import Axes File "/Library/Python/2.7/site-packages/matplotlib/axes/_axes.py", line 22, in <module> import matplotlib.dates as _
The only system change I can think of is Appleโs NTP update, and possibly some of the rights changes I made in / usr / local to work with Brew again.
I tried reinstalling both Matplotlib and Python-dateutil via Pip, but that didn't help. Also tried rebooting. I am running Python 2.7.6, which is located in / usr / bin / python. I am running Yosemite (OS X 10.10.1).
Dolan Antenucci Dec 24 '14 at 0:51 2014-12-24 00:51
source share