List Info

Thread: ImportError: No module named django




ImportError: No module named django
user name
2006-06-30 08:26:43
On 6/30/06, Craig Marshall <craig9gmail.com> wrote:
> Only the symlink I made called "django"
which points to the actual
> django dir in my $HOME

I'd advise you to drop the symlink and use the PYTHONPATH
variable,
but that's just my hunch based on no empirical data.

-- 
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-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

ImportError: No module named django
user name
2006-06-30 09:07:10
> I'd advise you to drop the symlink and use the
PYTHONPATH variable,
> but that's just my hunch based on no empirical data.

Okay, I just deleted /usr/lib/python2.4/site-packages/django
(which
was the symlink), and added to the PYTHONPATH environment
variable the
actual django directory, and if failed to import django at
the python
prompt, so I changed the env-var to point to the parent of
the django
directory, and I now have the same problem I had to start
with. I can
import django at the python prompt, but running syncdb gives
me the
ImportError.

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-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

ImportError: No module named django
user name
2006-06-30 10:23:07
On 6/30/06, Craig Marshall <craig9gmail.com> wrote:
> I can
> import django at the python prompt, but running syncdb
gives me the
> ImportError.

What does python -v manage.py yield? 't Will be a long
output.
Probably best to put it up on a URL if you can.

-- 
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-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )