I recently downloaded the latest Official release of Django for
installation on my Windows XP OS. After copying the appropriate files
over to the site-packages folder in the python installation, I
attempted to create a test project to insure correct installation by
invoking the command: django-admin.py startproject testproject. Python
returns a syntax error, pointing to a spot in django/__init__.py on
line 15 where the code is: if svn_rev != u'SVN-known' :. Now clearly
the random u before the first quote is not supposed to be there, and
removing it fixes the syntax error. The problem is after fixing it
another syntax error is brought up with the same problem, random
characters where they are not supposed to be.

The problem is intriguing, and I attempted to download and install the
official release 3 more times and then proceeded to get the latest
develepor release from SVN only to get the same exact problem. I'm
running the latest version of Python 3 on standard Windows XP. My
question is, why are these random syntax errors showing up and how can
I fix it?

--~--~---------~--~----~------------~-------~--~----~
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