result in errors such as
>
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/django/bin/django-admin.py", line
> 2, in
> from django.core import management
> ImportError: No module named core
>
>
> or
>
> Traceback (mo
ommand_line
when in Python result in errors such as
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/django/bin/django-admin.py", line
2, in
from django.core import management
ImportError: No module named core
or
Traceback (most recent call last):
Fi
Thank alot! I'm obviously new to django and have been really eager to
set this up on dreamhost but have been stuck with this for a while.
Cheers!
J
On Oct 14, 4:31 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > My directory structure is:
>
> > projects/
> > django
[EMAIL PROTECTED] wrote:
> My directory structure is:
>
> projects/
>django/
> __init__.py
> trunk/
> django/
>__init__.py
> core/
> __init__.py
>
> and my PYTHONPATH is:
>
> export PYTHONPATH=$HOME/projects:$
t):
> > 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 n
m 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
s
PYTHONPATH
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 n
He is running on Dreamhost (Debian Linux) WinZip is for windows. Look at
your python patch (export | grep PYTHONPATH) if you need to edit it then do
so in your .bash_profile file (cd ~;nano .bash_profile)
Do you have Fcgi enabled?
Look at the dreamhost wiki they have a good article on how to inst
Make sure the unzipping tool that you used to uncompress the Django
kit preserves empty files like __init__.py. WinZip, in particular,
does not always do this.
On Jul 15, 1:42 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I've been trying to setup Django on Dreamhost and I haven't had much
ine 2, in ?
> from django.core import management
> ImportError: No module named core
>
> and here is that file:
>
> #!/usr/bin/env python
> from django.core import management
>
> if __name__ == "__main__":
> management.execute_from_command_line()
>
&g
re import management
ImportError: No module named core
and here is that file:
#!/usr/bin/env python
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
I'm using the setup tutorial located at:
http://www.gordontillman.info/Development/D
11 matches
Mail list logo