I am attempting to use lxml in my app. I am using Mac OS X. I placed the 
lxml files in web2py/Content/Resources/applications/<myapp>/modules.  

I attempted to import lxml into default.py with this:

from lxml import etree


I am getting a module-not-found error. 

I anticipated problems because lxml required some TLC just to get it 
installed and working on my Mac. 

While it would be helpful to know how to get it working from the 
application's local modules folder, my preference would be for web2py to 
have all the Python modules in the system site-packages directory available 
for import, rather than local copies.  Is there some way I can set this up?

-- 



Reply via email to