Hey all, I recently started programming in python, so I went to download python 3.0, and it appears I have ruined all python files on my installation, whenever I try to run anything with python I get this error:
bash: /usr/bin/python: No such file or directory
when installing YouCompleteMe plugin,it needs python suport,but it is too low on my centos.So I download the latest python source code(python3.2),compile and install it.
After completion,I remove previous version via yum remove python,and add soft link via sudo ln -s /opt/python3.2/bin/python /usr/bin/python，it's OK.But yum can't work any more.when using it ,I will get the error as follows:
I downloaded python 3.3.0 which is latest version and i finished installing
now I want to run it in my centOS linux but when i type it in console "python" , python 2.7.0 which is bundled with os installation runs.
how can i change it to run 3?
I vaguely feel that i have to change the code about path in bin folder or something