buriy/python-readability

cannot import name 'Document'

123tobias123 opened this issue · 5 comments

Hi there,
I am having an import error with
from readability import Document

  • OS: Ubuntu
  • Python 3.6.7
  • installation: pip install readability-lxml

Please help

buriy commented

Do you have any file named "readability.py" in your code?

Yes that was the problem. Thank you very much! :)

Hi there,
I am having an import error with
from readability import Document
ImportError: cannot import name 'Document'

centos centos-release-7-7.1908.0.el7.centos.x86_64
readability 0.7.1
python 3.6.10

please help

I am pip re-install readability-lxml is ok !