In article 
<109c960c-656b-4ea7-b69f-100e30804...@m16g2000yqc.googlegroups.com>,
 stopchuckingstuff <stopchuckingst...@me.com> wrote:
> On Jan 17, 5:52 pm, Ned Deily <n...@acm.org> wrote:
> > In article
> > <94e8cfd8-d299-4c23-9e9e-d3f17d4c9...@e16g2000yqc.googlegroups.com>,
> > > What I don't understand is if the path is there, why doesn't it find
> > > the module?
> > Perhaps it is just a permissions problem since Apache is probably
> > running under a different user name.  Check the owner/group and
> > permissions of the various module directories and files. Make sure the
> > directories and .so files have at least r-x and the python files at
> > least r-- across the board.
> Of course! how did i not realise that... it wasn't the python-eggs
> directory, but the directory containing the modules (namely /Library/
> Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages)
> - i changed the permissions, and its all sorted!

Yay!  Sorry, I should have thought of permissions earlier: I've been 
bitten by that more than once.  It's an important thing to keep in mind 
when encountering missing imports: always check file system permissions 
first.

-- 
 Ned Deily,
 n...@acm.org

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to