Hi Nuno,

Thanks for helping, but it turned out it has nothing to do with the
PYTHONPATH but with access rights of the /usr/local and /usr/local/lib
(http://blog.petrovic.gr/lang/en-us/2010/05/importerror-no-module-
named-django-core/)


Thanks,

On May 31, 11:55 am, Nuno Maltez <nuno.li...@gmail.com> wrote:
> Well, it seems that your python lib is at /usr/lib/python2.6/dist-packages:
>
> > mx:~/webapps$ python -c "from distutils.sysconfig import
> > get_python_lib; print get_python_lib()"
>
> > /usr/lib/python2.6/dist-packages
>
> but django is in "local" - /usr/local/lib/python2.6/dist-packages
>
> > /usr/local/lib/python2.6/dist-packages/django/bin/django-admin.py
>
> So have you tried adding /usr/local/lib/python2.6/dist-packages/
> (directory that holds the django module) to your pythonpath?
>
> Nuno

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to