Dmitry Arsentiev
unread,Aug 15, 2012, 7:33:56 AM8/15/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to scrapy...@googlegroups.com
Hello.
Has anybody already meet the problem like this:
AttributeError: 'module' object has no attribute 'HTML_PARSE_RECOVER'
When I run scrapy, I get
File "/usr/local/lib/python2.7/site-packages/scrapy/selector/factories.py",
line 14, in <module>
libxml2.HTML_PARSE_NOERROR + \
AttributeError: 'module' object has no attribute 'HTML_PARSE_RECOVER'
When I run
python -c 'import libxml2; libxml2.HTML_PARSE_RECOVER'
I get
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'HTML_PARSE_RECOVER'
How can I cure it?
Python 2.7
libxml2-python 2.6.9
2.6.11-gentoo-r6
I will be grateful for any help.