Make sure thet the unzip tool you used to uncompress the django kit
preserved empty files like __init__.py.  WinZip, in particular, does
not always do this.


On Aug 9, 8:04 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Oops. Thanks for the reply but now when I run the command from the
> shell I get this error, do I need to add something to
> my .bash_profile? I followed all the steps on the Gordon Tillman
> tutorialhttp://www.gordontillman.info/Development/DjangoDreamhost
> which from what I've heard works well.
>
> django-admin.py startproject mysite
> Traceback (most recent call last):
>   File "/home/username/projects/django/trunk/django/bin/django-
> admin.py", line 2, in ?
>     from django.coreimport managementImportError:Nomodulenamedcore
>
> http://www.gordontillman.info/Development/DjangoDreamhost
>
> On Aug 9, 4:48 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Sat, Aug 9, 2008 at 7:44 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > > Hello,
>
> > > I've been trying to setup Django on DreamHost and don't understand why
> > > I'm getting a syntax error with the startproject command.
>
> > > django-admin.py startproject mysite
> > >  File "<stdin>", line 1
> > >    django-admin.py startproject mysite
> > >                               ^
> > > SyntaxError: invalid syntax
>
> > You are supposed to run django-admin.py from a command shell, not a python
> > shell.
>
> > Karen- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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