Hi,

I hope somebody can help me, I'm triying to install django on Win XP.
I downloaded it from django's official site.

Of course I have already python installed and when I do  "python
setup.py install" python give me the following message:



D:\python_27\Lib\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 "D:\python_27\Lib\site-packages\Django-1.4\django\__init__.py",
line 15
    parts = 2 if version[2] == 0 else 3
               ^
SyntaxError: invalid syntax

D:\python_27\Lib\site-packages\Django-1.4>python
Python 2.4.5 (#1, Jul 22 2011, 02:01:04)
[GCC 4.1.1] on mingw32
Type "help", "copyright", "credits" or "license" for more information.
>>> print "hola"
hola
>>> ^D
  File "<stdin>", line 1
    ♦
    ^
SyntaxError: invalid syntax
>

I read in some other blog that it could be caused because the
uncompressed utiliy used...then  I tryed again with others but python
still showing me this message.

Thanks in advance

Jose.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to