Trying to upgrade matplotlib as in this post, I ran
export PYTHONHOME=/usr/lib/python2.7/
sudo easy_install -U distribute
sudo pip install --upgrade matplotlib
Now whenever I try to run python
I get ImportError: no module named os
. What happened? Please help me. I'm on OS X 10.9.5.