django-admin.py is a python script that should be run from the command
line (not the Python interpreter)

-Brian

On Jun 25, 12:50 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I'm going through the tutorial and after importing django and running
> the django-admin.py startproject command I get this error:
>
> >>> import django
> >>> django-admin.py startproject mkgps
>
>   File "<stdin>", line 1
>     django-admin.py startproject mkgps
>                                ^
> SyntaxError: invalid syntax
>
> Here is my .bash_profile:
>
> PATH="/opt/local/bin:/opt/local/sbin:$PATH"
> export DISPLAY=:0.0
>
> export PATH=${PATH}:"/usr/local/mysql-5.0.51a-osx10.4-powerpc/bin/"
>
> export EDITOR='mate -w'
>
> # Setting PATH for MacPython 2.5
> # The orginal version is saved in .bash_profile.pysave
> PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:$
> {PATH}"
> export PATH
>
> #export PATH=${PATH}:/usr/local/mysql-5.0.51a-osx10.4-powerpc/bin/
>
> Thanks for any hep,
>
> Jason
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to