When I want to import matplotlib in IDLE. The following error occurs:
ImportError: No module named matplotlib
I use mac, the PATH of python in my bash_profile is:
# Setting PATH for Python 2.7
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
export PATH
Days ago I tried to uninstall python from my mac, so I am not sure if I just damaged built-in python.
How can I fix this problem?