Opened 7 years ago

Closed 7 years ago

#7644 closed (invalid)

SyntaxError in

Reported by: VaidyaR Owned by: nobody
Component: Uncategorized Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


I am a completely new Django user, and I was basically following the tutorial ( to try and create a Django app. I basically ran "python runserver" from the command line, and it gives me the following error:

C:\Documents and Settings\Ganesh\My Documents\Django Files\mysite>python manage.
py runserver
c:\Django-0.96.2\django\core\ Warning: 'yield' will become a r
eserved keyword in the future
Traceback (most recent call last):

File "", line 2, in ?

from import execute_manager

File "c:\Django-0.96.2\django\core\", line 830

yield "# This is an auto-generated Django model module."

SyntaxError: invalid syntax

Any help would be much appreciated, as am totally lost - thanks! I am running Django 0.96.2 on Python 2.5 on Windows XP.

Change History (1)

comment:1 Changed 7 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Please ask support questions on the django-users mailing list. The code you're running has been known to work for a long time (although looking at the error message, it looks like you're not running python 2.5, but something like python 2.1 or 2.2 -- check that before posting to django-users to make sure).

Note: See TracTickets for help on using tickets.
Back to Top