I saw a lot of other questions like this but none of them answered the exact part I am having trouble with (actually installing the Python RPM). Someone on my system deleted /usr/bin/python and /usr/bin/python2.4 on my 64 bit CentOS 5.8 installation.
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
I've inherited a project on a hosted server and I'm trying to install and import numpy and nltk into the project. The OS is centOs 5.10 and the web app uses web.py. There are two version of python installed on the box both python 2.4 and python 3.3. The default is pointing to version 2.4, "python -V" = python 2.4.3.
I have a problem running Django with mod_wsgi and Apache on CentOS.
Django runs on Python 2.5 or above but CentOS comes with Python 2.4. I can't just upgrade the default Python 2.4 because it breaks other services such as yum. I installed Python 2.7 into different directory.
I followed most of the tutorial and article about running Django with mod_wsgi but never able successfully run it.
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: