1👍
✅
Your CentOS relies on python 2.4 so that’s not going to work. You should probably create a new system user and install pyton 2.7 in its home directory (or use your root user and install python in /opt for global usage), you can find plenty of tutorials on Google.
After succesfully doing so, you can set an alias in your user’s bash profile to define which python version to use. It’s also common practice to create a virtualenv for each project and/or user.
Source:stackexchange.com