System: Mountain Lion 10.8.
I tried to uninstall python 2.7 and therefore i also deleted /usr/bin/python. However, after that i needed python again and i installed in again. Now I want to use easy_install to install matlibplot etc.. Unfortunately, it says:
-bash: /usr/bin/easy_install: /usr/bin/python: bad interpreter: No such file or directory
and also /usr/bin/python:
-bash: /usr/bin/python: No such file or directory
however if i go to /usr/bin/ there are all version of python.
I also took a look to /usr/bin/easy_install; the first line says:
#!/usr/bin/python
BTW: i also installed python 3.2 and it also not "visible" outside /usr/bin
Do I need to fix any path variables?
Thanks for your help!
which python
say? And just to be paranoid,echo $PATH
to check that/usr/bin
is in the path.ls -l /usr/bin/python*
?