Re: Problems with lxml package
On Tue, Jan 12, 2016 at 6:30 PM, Yaakov Selkowitz wrote: > On 2016-01-12 03:34, Christian-Manuel Röderer wrote: >> >> Sorry, just forgot the "3" in the names above. I have python3-lxml >> installed (as well >> as python-lxml) and also have the same problem with python2 (see below). >> etree seems to be missing. > > http://lxml.de/tutorial.html > http://lxml.de/compatibility.html Sorry, I don't understand how this helps. In the script I want to run I am using lxml functionality so using a different ElementTree will not work. Also, the script runs on a Debian with python3-lxml installed and used to run in cygwin in the past. Kind regards, Chris -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Problems with lxml package
Hi Yaakov, On Tue, Jan 12, 2016 at 5:25 AM, Yaakov Selkowitz wrote: > On 2016-01-11 16:58, Christian-Manuel Röderer wrote: >> >> is anyone else experiencing problems with the current versions of the >> lxml package for python 3 (python-lxml-3.2.3-1 and >> python-lxml-3.4.4-1, 64 bit)? > > > Those are for Python 2.7. For Python 3.4 you need python3-lxml. Sorry, just forgot the "3" in the names above. I have python3-lxml installed (as well as python-lxml) and also have the same problem with python2 (see below). etree seems to be missing. Cheers, Flo $ python2.7 Python 2.7.10 (default, Jun 1 2015, 18:05:38) [GCC 4.9.2] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> from etree import lxml Traceback (most recent call last): File "", line 1, in ImportError: No module named etree >>> -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problems with lxml package
Dear list, is anyone else experiencing problems with the current versions of the lxml package for python 3 (python-lxml-3.2.3-1 and python-lxml-3.4.4-1, 64 bit)? It seems to install correctly (and so do the dependencies) but then it seems to be incomplete: $ python3.4 Python 3.4.3 (default, May 5 2015, 17:58:45) [GCC 4.9.2] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> import lxml >>> from lxml import etree Traceback (most recent call last): File "", line 1, in ImportError: No such file or directory Help and hints much appreciated, Chris -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple