Yes, I was using the web2py binary. I have since opted to run from source 
and it works with one stipulation:

Your instructions say to run from source use python2.5. lxml is installed 
in 2.6 on my machine. Running from source with python rather than python2.5 
seems to be fine and the module not found error went away. 

Is it ok to run web2py with python 2.6 or am I likely to encounter problems 
down the road? 

Thanks for your help.  

On Sunday, August 12, 2012 11:39:56 PM UTC-4, Mike Girard wrote:
>
> 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