I did it with a
```python
try:
    from lxml.etree import XPathEvalError
except ImportError:
    pass
```
thanks for pushing my nose into it.