문제

I am using sumy https://github.com/miso-belica/sumy for python text-summarization

I get this error when I use HtmlParser.

Traceback (most recent call last):
File "", line 1, in 
File "/usr/local/lib/python2.7/dist-packages/sumy/parsers/html.py", line 6, in 
from readability.readable import Article
ImportError: No module named readable

How can I fix this problem?

I have done the following,

pip install sumy    
pip install readability-api
도움이 되었습니까?

해결책

Its really funny.

It is not the readablity-api the author is mentioning in sumy

Its https://github.com/miso-belica/readability.py

The devaloper is using his own project readability

Try using above. browse the above project. Devaloper is miso-belica in both of project

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top