﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
17968	setup.py fails line 69 - Dual Python CentOS VPS	thecandide@…	nobody	"Attempting to install Django on a CentOS Host Gator VPS. We were forced to install Python 2.7 along side 2.4 because YUM broke when we attempted to use 2.7 exclusivity. The package appears to have extracted completely and __init__.py is present.

I've been following the directions from here:

https://docs.djangoproject.com/en/1.3/topics/install/#installing-an-official-release

{{{
root@ini [/opt/python2.7/lib/python2.7/site-packages/Django-1.4]# python setup.py install

Traceback (most recent call last):
  File ""setup.py"", line 69, in ?
    version = __import__('django').get_version()
  File ""/opt/python2.7/lib/python2.7/site-packages/Django-1.4/django/__init__.py"", line 15
    parts = 2 if version[2] == 0 else 3
               ^
SyntaxError: invalid syntax
}}}"	Uncategorized	closed	Uncategorized	1.3	Normal	invalid	install		Unreviewed	0	0	0	0	0	0
