#django-admin.py startproject mysite
Traceback (most recent call last):
File "/usr/bin/django-admin.py", line 2, in ?
from django.core import management
File "/usr/lib/python2.4/site-packages/django/core/management/__init__.py", line 8, in ?
from django.core.management.base import BaseCommand, CommandError, handle_default_options
File "/usr/lib/python2.4/site-packages/django/core/management/base.py", line 6
from __future__ import with_statement
SyntaxError: future feature with_statement is not defined
上面是配置django时出现的错误。
繁星点点滴滴