Django compatibility issues with Python 3.2

1.4k views Asked by At
OS: windows 7 (x64)
Python: 3.2
Django: 1.3.1

So I am trying to install Django and am getting the following error:

file "setup.py", line 70 
if u'SVN' in version:  
syntaxError: invalid syntax

So I know this is a compatibility issue with python3.2 and would not be a problem if I re-install python 2.6 instead. My question is there a way around this now? Or is Django still only compatible with python2.6 only?

1

There are 1 answers

0
Brian Neal On BEST ANSWER

Django 1.3.1 is compatible with Python versions from 2.4 to 2.7.

There are people working on an experimental port to Python 3 now. But for the time being your best bet is to install Python 2.7.

Update: There is official work being done to port Django to Python 3. See this blog post for more information.