|
List Info
Thread: ImportError: No module named django
|
|
| ImportError: No module named django |

|
2006-06-28 13:39:22 |
Hi,
I downloaded the svn version of django a couple of weeks
ago, and had
it working fine within Debian. I installed Ubuntu 6.06
today, and my
django install has stopped working.
I can run python interactively and type "import
django" and get no
errors, but when I go into our project directory and run
"./manage.py
syncdb", I get this error:
ImportError: No module named django
I'm running Python 2.4.3 in case that matters - any ideas?
Thanks,
Craig
--~--~---------~--~----~------------~-------~--~----~
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
django-users-unsubscribe googlegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---
|
|
| ImportError: No module named django |

|
2006-06-28 13:53:36 |
On 28 Jun 2006, at 14:39, Craig Marshall wrote:
> I can run python interactively and type "import
django" and get no
> errors, but when I go into our project directory and
run "./manage.py
> syncdb", I get this error:
>
> ImportError: No module named django
>
> I'm running Python 2.4.3 in case that matters - any
ideas?
It sounds like you might have two versions of Python
installed. You
should confirm that the shebang line in ./manage.py is for
the right
version. Alternatively, running 'python manage.py syncdb'
should work.
Cheers,
Simon
--~--~---------~--~----~------------~-------~--~----~
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
django-users-unsubscribe googlegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---
|
|
| ImportError: No module named django |

|
2006-06-28 14:12:23 |
> It sounds like you might have two versions of Python
installed. You
> should confirm that the shebang line in ./manage.py is
for the right
> version. Alternatively, running 'python manage.py
syncdb' should work.
The shebang says "#!/usr/bin/env python", which
returns 2.4.3 when
asked. (So does "`which python` -V" and
"python -V", in case that
sheds any light?)
Running "python manage.py syncdb" gives me
exactly the same error as
"./manage.py syncdb".
Typing "pyt<tab>" only gives my
"python" and "python2.4", the former
being a symlink to the latter, so I don't think I have a
different
version installed anywhere. There's probably a better way
to check
this though.
I'm really not sure what to try next. I guess the last
resort is to go
back to debian, but I quite like the easy interface of
ubuntu, so ..
hum.
Craig
--~--~---------~--~----~------------~-------~--~----~
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
django-users-unsubscribe googlegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---
|
|
| ImportError: No module named django |

|
2006-06-30 08:08:21 |
On 6/28/06, Craig Marshall <craig9 gmail.com> wrote:
> I downloaded the svn version of django a couple of
weeks ago, and had
> it working fine within Debian. I installed Ubuntu 6.06
today, and my
> django install has stopped working.
This is very strangely worded. You installed Ubuntu
completely on top
of Debian and then installed Django from SVN again? You're
not being
explicit enough.
> I can run python interactively and type "import
django" and get no
> errors, but when I go into our project directory and
run "./manage.py
> syncdb", I get this error:
>
> ImportError: No module named django
In your site-packages directory (typically something like
/usr/local/lib/python24/site-packages), do you have anything
resembling Django (egg or directory)?
--
Jeroen Ruigrok van der Werven
--~--~---------~--~----~------------~-------~--~----~
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
django-users-unsubscribe googlegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---
|
|
| ImportError: No module named django |

|
2006-06-30 08:03:15 |
> I downloaded the svn version of django a couple of
weeks ago, and had
> it working fine within Debian. I installed Ubuntu 6.06
today, and my
> django install has stopped working.
>
> I can run python interactively and type "import
django" and get no
> errors, but when I go into our project directory and
run "./manage.py
> syncdb", I get this error:
>
> ImportError: No module named django
Is this the best place to ask this kind of question, or
would I be
better off trying irc or something else?
Thanks,
Craig
--~--~---------~--~----~------------~-------~--~----~
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
django-users-unsubscribe googlegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---
|
|
[1-5]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|