Installing Django

16 views
Skip to first unread message

Sophia

unread,
Mar 6, 2012, 8:42:06 AM3/6/12
to django...@googlegroups.com
Hi all,

I'm trying to install Django on my windows, I already install Python, as I read in Django tutorial for installing, I entered the path of the Django folder that I downloaded and unzipped, then for installing I entered the following command:

python setup.py install

but it keeps giving me this error :

  File "setup.py", line 70
    if u'SVN' in version:
            ^
SyntaxError: invalid syntax

Is there anyone who can help me with it?

Thanks in advance.
Sophia


James Bennett

unread,
Mar 6, 2012, 9:22:35 AM3/6/12
to django...@googlegroups.com
On Tue, Mar 6, 2012 at 7:42 AM, Sophia <b.mirsh...@gmail.com> wrote:
> python setup.py install
>
> but it keeps giving me this error :
>
>   File "setup.py", line 70
>     if u'SVN' in version:
>             ^
> SyntaxError: invalid syntax

Most likely, you installed a 3.x version of Python. Django does not
support Python versions 3 and up yet; for Django 1.3, you need a
Python 2.x installation, minimum Python 2.4 For Django 1.4, you need
minimum Python 2.5.

Reply all
Reply to author
Forward
0 new messages