I am sending it here since my attempt to contact the buildscript maintainer directly resulted in this:<br><br>Delivery to the following recipient failed permanently:<br>
<br> <email address of the pyquery buildscript maintainer><br>
<br>
Technical details of permanent failure:<br>
DNS Error: DNS server returned general failure<br>
<br>Recently buildscript for lxml at SBo got updated (from lxml 2.x to lxml 3.x). After building the new lxml package and upgrading, I have noticed that pyquery (the version that's available on SBo as well and that didn't change) is now broken - importing it fails. Here is the traceback from ipython:<br>
<br>--- snip ---<br>In [1]: import pyquery<br>---------------------------------------------------------------------------<br>ImportError Traceback (most recent call last)<br><ipython-input-1-6c6972830b98> in <module>()<br>
----> 1 import pyquery<br><br>/usr/lib64/python2.7/site-packages/pyquery/__init__.py in <module>()<br> 8 import webob<br> 9 except ImportError:<br>---> 10 from pyquery import PyQuery<br> 11 else:<br>
12 from ajax import PyQuery<br><br>/usr/lib64/python2.7/site-packages/pyquery/pyquery.py in <module>()<br> 4 #<br> 5 # Distributed under the BSD license, see LICENSE.txt<br>----> 6 from cssselectpatch import selector_to_xpath<br>
7 from lxml import etree<br> 8 import lxml.html<br><br>/usr/lib64/python2.7/site-packages/pyquery/cssselectpatch.py in <module>()<br> 4 #<br> 5 # Distributed under the BSD license, see LICENSE.txt<br>
----> 6 from lxml.cssselect import Pseudo, XPathExpr, XPathExprOr, Function, css_to_xpath, Element<br> 7 from lxml import cssselect<br> 8<br><br>/usr/lib64/python2.7/site-packages/lxml/cssselect.py in <module>()<br>
16 external_cssselect = __import__('cssselect')<br> 17 except ImportError:<br>---> 18 raise ImportError('cssselect seems not to be installed. '<br> 19 'See <a href="http://packages.python.org/cssselect/">http://packages.python.org/cssselect/</a>')<br>
20<br><br>ImportError: cssselect seems not to be installed. See <a href="http://packages.python.org/cssselect/">http://packages.python.org/cssselect/</a><br>--- snip ---<br><br>Just "import lxml" works.<br>
<br>I am using Slackware64-14.0 (no multilib).<br>