[web2py] Re: Trouble adding lxml module to application

2012-08-13 Thread Anthony
On Monday, August 13, 2012 10:34:55 AM UTC-4, Massimo Di Pierro wrote: > > The problem is what we mean by support. If somebody writes and app using > 2.7 syntax, it works but the app will not work on a different web2py > installation running 2.5. I agree we should clarify web2py runs on 2.6 and

[web2py] Re: Trouble adding lxml module to application

2012-08-13 Thread Anthony
Yes, I think that should be clarified as well. Thanks. Anthony On Monday, August 13, 2012 10:38:40 AM UTC-4, Mike Girard wrote: > > The book also provides this command for running web2py from source. > > python2.5 web2py.py > > it was this that made me think I had to use 2.5 along with presumabl

[web2py] Re: Trouble adding lxml module to application

2012-08-13 Thread Mike Girard
The book also provides this command for running web2py from source. python2.5 web2py.py it was this that made me think I had to use 2.5 along with presumably obsolete posts in this group about issues that came up with new Python versions. I suppose if I hadn't been skimming, I would have felt m

[web2py] Re: Trouble adding lxml module to application

2012-08-13 Thread Massimo Di Pierro
The problem is what we mean by support. If somebody writes and app using 2.7 syntax, it works but the app will not work on a different web2py installation running 2.5. I agree we should clarify web2py runs on 2.6 and 2.6 but we should also discourage from using methods and syntax not supported

[web2py] Re: Trouble adding lxml module to application

2012-08-13 Thread Anthony
The book says: web2py runs with CPython (the C implementation) and Jython (the Java implementation), on Python versions 2.4, 2.5, 2.6, and 2.7, although "officially" it only supports 2.5 so that we can guarantee backward compatibility for applications. I guess that sounds a bit misleading, as

[web2py] Re: Trouble adding lxml module to application

2012-08-13 Thread Mike Girard
Thanks for the confirmation. Perhaps the official documentation should be updated. On Monday, August 13, 2012 9:17:51 AM UTC-4, Anthony wrote: > > Are you sure? I searched on this list and seemed that there had been some >> problems. > > > Shouldn't be any problems. 2.5 is the *oldest* version

[web2py] Re: Trouble adding lxml module to application

2012-08-13 Thread Anthony
> > Are you sure? I searched on this list and seemed that there had been some > problems. Shouldn't be any problems. 2.5 is the *oldest* version of Python with which web2py will work (used to be 2.4), but it works fine with 2.6 and 2.7. Anthony --

[web2py] Re: Trouble adding lxml module to application

2012-08-12 Thread Mike Girard
Are you sure? I searched on this list and seemed that there had been some problems. In light of this I installed lxml in my 2.5 site-packages and ran web2py with the python2.5 command recommended on the installation page. Can someone confirm what Python version is best for running web2py as of

[web2py] Re: Trouble adding lxml module to application

2012-08-12 Thread pbreit
Web2py runs fine (better?) on 2.6 and 2.7. --

[web2py] Re: Trouble adding lxml module to application

2012-08-12 Thread Mike Girard
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

[web2py] Re: Trouble adding lxml module to application

2012-08-12 Thread Massimo Di Pierro
Are you using the web2[y binary distribution. It will not work with the osx distribiution which comes with its own python/ On Sunday, 12 August 2012 22:39:56 UTC-5, 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/Res