My directory structure is:
projects/
django/
__init__.py
trunk/
django/
__init__.py
core/
__init__.py
and my PYTHONPATH is:
export PYTHONPATH=$HOME/projects:$HOME/projects/django/trunk:$HOME/
projects/flup/trunk:$PYTHONPATH
Thanks,
J
On Oct 14, 12:15 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Tue, 2008-10-14 at 00:10 -0700, [EMAIL PROTECTED] wrote:
>
> [...]
>
> > and here is the error:
>
> > $ django-admin.py
> > Traceback (most recent call last):
> > File "/home/username/projects/django/trunk/django/bin/django-
> > admin.py", line 2, in ?
> > from django.core import management
> > ImportError: No module named core
>
> So either your copy of Django isn't complete, or your Python path is not
> pointing to the right place. Look at the directories you've specified in
> your Python path and make sure that one of them contains a subdirectory
> setup that contains, in part:
>
> django/
> __init__.py
> core/
> __init__.py
> <... lots of other files ...>
> <... lots of other files ...>
>
> Regards,
> Malcolm
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---