Yarko,
Read your discussion with Xie. I have come to realize my situation is
a little different. lxml is a package not a module. Hence there is no
lxml.py to discover. Looking at the situation there is a directory --
.../site-packages/lxml-2.2.2-py2.5-i686.egg/...
and this directory is in the path according to sys.path. There is
a .../lxml sub that contains the file __init__.py. The interesting
thing is if I bring up ipython and load the controller .py file the
imports of lxml works fine and the calls to lxml work as advertised.
As I have only dug through only a few points of web2py internals I am
somewhat of a loss as to how to proceed.
> See also my recent reply to Xie on a recent thread:
>
> [web2py:25413] Re: confusion about web2py's MVC
> namespace<
http://groups.google.com/group/web2py/msg/1fcecf8cf3456bbd>