I would like to upgrade python for django. Currently I have python 2.4.3 on my Red Hat server. I have installed python 2.7.1, but the default python is still 2.4.3 (It didn't upgrade python, but installed python 2.7 separately). Django python version is also still 2.4.3 as well. I want to make a change so Django runs with 2.7. How do I overcome this problem?
|
feedback
|
|
RedHat has many tools that depend on Python 2.4 ( Depending on how you installed it, you may be able to get to it with the command If that doesn't work, you might need to reference the Python binary directly as it might not be in the system path. From memory, it should be something like | |||||||||||
feedback
|
|
You should really consider running virtualenv, located on PyPi. It sets up a virtual environment for running different versions of Python, which allows you to avoid interfering with the system's Python 2.4. I have the same problem on my CentOS VPS, and found | |||
|
feedback
|