Hy, I´m quite newbie using MacOSX, had installed python, and django,
if in a python console "import python" no error appears, but if i try
to create a new project like
" ./bin/django-admin.py startproject sdlsdl " the next error appears:
Traceback (most recent call last):
File "./bin/django-admin.py", line 2, in ?
from django.core import management
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/django/core/management/__init__.py", line 7,
in ?
from django.core.management.base import BaseCommand, CommandError,
handle_default_options
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/django/core/management/base.py", line 13, in ?
from django.core.management.color import color_style
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/django/core/management/color.py", line 8, in ?
from django.utils import termcolors
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/django/utils/termcolors.py", line 185
opts = tuple(s for s in styles if s in opt_dict.keys())
^
SyntaxError: invalid syntax
anyone knows how to fix it?
thx,
bvcelari.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.