Installing Django With Python 2.5 And Not With The Default Version Of Python
I have to install Django on my linux server where python 2.4 is available as the default installation. I have installed python 2.5 as a separate version. Now I have to install Djan
Solution 1:
after downloading the django source, instead of doing
python setup.py install
do
/path/to/python2.5 setup.py install
Solution 2:
Django is 100% compatible with Python 2.4. However if you really want to use 2.5 you would probably be best off using a virtualenv and installing Django and your project inside that.
Don't forget if you do try and install 2.5, you will also need to recompile mod_wsgi to use it, as the system packaged version will only use 2.4.
Post a Comment for "Installing Django With Python 2.5 And Not With The Default Version Of Python"