I update the kernel, after that the Ubuntu doesn't work well, PS: I try to exec "meld" command, it will report that "/usr/bin/env: python: No such file or directory", then I exec "sudo apt-get install python" and get the result "python is already the newest version.", what should I do for it.
A:
If you are trying to run python from the command line, you should just be able to type python
from the prompt.
me@me-laptop:-$ python
You will see something like this returned:
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
type "help", "copyright", "credits" or "license" for more information.
>>>
gary comtois
2010-09-07 02:27:35
Thank you, I run python, get the same result " /usr/bin/python: No such file or directory"
Hao
2010-09-07 02:37:15
I try to remove python and reinstall, but fail.
Hao
2010-09-07 02:38:19
run dpkg --get-selections | grep python
Hao
2010-09-07 02:38:54
some package age purge
Hao
2010-09-07 02:39:42
A:
I'm not good at linux, can you tell me how to revert my linux to the last right status, or reinstall the python normally.
Hao
2010-09-07 02:41:47
hmm, have you tried the Synaptic Package Manager? (and technically your answer should be a comment or in your original question as an edit)
gary comtois
2010-09-07 02:46:19
System > Administration > Synaptic Package Manager or something... search for python. Its square should be green if you have it installed.
gary comtois
2010-09-07 02:49:29