Matplotlib issue on OS X (“ImportError: cannot import name _thread”)

sudo pip uninstall python-dateutil
sudo pip install python-dateutil==2.2

I had the same error message this afternoon as well, although I did recently upgrade to Yosemite. I’m not totally sure I understand why reverting dateutil to a previous version works for me, but since running the above I’m having no trouble (I generally use pyplot inline in an ipython notebook).

Leave a Comment