After updating OS X Yosemite 10.10.5, my Python installation exploded. I do not use brew, macports, conda or EPD, but this is a native Python assembly. While it was fully functional, it now seems to have lost control of installed packages. I try to start an ipython session and returns
$ ipython
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/bin/ipython", line 7, in <module>
from IPython import start_ipython
ImportError: No module named IPython
Then I resort to checking if I can reinstall ipython, but my pip also disappeared:
$ sudo pip install ipython
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/bin/pip", line 7, in <module>
from pip import main
ImportError: No module named pip
So maybe the pip disappeared?
$ sudo easy_install install pip
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/bin/easy_install", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
I already tried solutions to this last problem , but they don't seem to work.
So it seems that Python has lost control of itself. Anyone have clues on what might have gone wrong, and how can I fix this? Thanks!