This applies to Server 10.10 with Python 2.6 and mod-wsgi
Checked version of Python was 2.6 using
1 |
python --version |
The followed the instructions on the download site
1 2 3 4 5 |
tar xzvf Django-1.2.3.tar.gz cd Django-1.2.3 sudo python setup.py install |
Note: It seems to place the files into:
1 |
/usr/local/lib/python2.6/dist-packages/ |
Then you need to add the mod_wsgi package
1 |
sudo apt-get install libapache2-mod-wsgi |
Needed to install the MySQDB module
1 |
apt-get install python-mysqldb |