On Oct 27, 9:07 pm, Jacob Fenwick <jacob.fenw...@gmail.com> wrote:
> Wow, big surprise that someone else is having shared hosting issues with
> dreamhost eh?
>
> I'm importing a library I installed in site-packages in a module in a django
> app. When I call this django project, it returns with the error:
>
> ImportError: No module named lxml

When you say you installed in site-packages in a module in a django
app - where exactly is lxml installed?  Are you using a virtualenv?
What steps have you done to check and ensure that the lxml module is
available in your Python path?

-Preston

>
> The django project is hosted on the fcgi.py version of fastcgi on dreamhost.
>
> Now, I know that django is not usually having a problem accessing the
> library, because if I go into the django shell and type import lxml, I can
> import the module.
>
> Also, if I type ./dispatch.py, I get a correct 200 OK response.
>
> But for some reason, when I call the site from a web browser, it causes
> django to not be able to access the library.
>
> The site-packages are stored inside of a virtualenv generated directory
> structure.
>
> The permissions on the dispatch.fcgi file, the fcgi.py file, the directories
> leading up to and include site-packages, and django are (mostly) 755.
>
> Has anyone encountered this? Or does anyone have some insight into how to
> solve this problem?
>
> Thanks for any help provided,
>
> Jacob
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to