Hello there, I am adding lxml to the modules folder. And ran into error (below).
1. I am using the latest version of web2py from git 2. I used to use lxml this way and it worked (that was 2 years ago) 3. This app was created brand new with the only line added "from lxml import etree, objectify" 4. lxml was downloaded using command "git clone git://github.com/lxml/lxml.git lxml", according to http://lxml.de/index.html#download Thank you I appreciate any assistance! <type 'exceptions.ImportError'> cannot import name etree Versionweb2py™Version 2.9.11-stable+timestamp.2014.09.15.18.31.17PythonPython 2.7.5: /usr/bin/python (prefix: /System/Library/Frameworks/Python.framework/Versions/2.7) Traceback 1. 2. 3. 4. 5. 6. 7. Traceback (most recent call last): File "/Users/./gluon/restricted.py", line 224, in restricted exec ccode in environment File "/Users/./applications/app/controllers/default.py" <http://127.0.0.1:8000/admin/default/edit/authority/controllers/default.py>, line 3, in <module> from lxml import etree, objectify ImportError: cannot import name etree -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.