I am brand new to Python, and have been trying to get the Django framework installed on my server. I can't seem to find an answer or even a hint in the right direction anywhere online for this issue.
I have a VPS over at LiquidWeb and I am trying to install on that server. I've been following the Django installation guide over at: https://docs.djangoproject.com/en/1.4/topics/install/#installing-official-release
I am trying to install the stable release, not the development version, and have tried installing manually and via PIP - both are giving me the same error, listed below:
root@host [/]# sudo pip install Django
Downloading/unpacking Django
Downloading Django-1.4.1.tar.gz (7.7Mb): 7.7Mb downloaded
Running setup.py egg_info for package Django
Traceback (most recent call last):
File "<string>", line 14, in ?
File "/build/Django/setup.py", line 69, in ?
version = __import__('django').get_version()
File "django/__init__.py", line 15
parts = 2 if version[2] == 0 else 3
^
SyntaxError: invalid syntax
Command python setup.py egg_info failed with error code 1 in /build/Django Storing complete log in /root/.pip/pip.log
I am using Python 2.4.3 and trying to install Django 1.4.1.
Any help would be greatly appreciated, thanks in advance!