On Feb 5, 4:05 pm, Dennis Lee Bieber <[email protected]> wrote:
> On Sun, 5 Feb 2012 14:08:52 -0800 (PST), "[email protected]"
>
> <[email protected]> wrote:
>
> >It's exactly the same sys.path I get from command line python, where
> >the import works.
>
>         NO IT ISN'T!
>
>
>
> >['/usr/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg', '/
>         <snip>
> >['', '/usr/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg',
>
>         Note the difference? The latter includes "current working directory"
> as the first entry.

Ok, I didn't notice that. However wouldn't the cwd be '.' and not an
empty sting? In any case, when I try the import from command line
python, I am not in the dir containing django.core.handlers.wsgi.

-larry

-- 
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.

Reply via email to