Question

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
Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top