cannot import name 'Document'
123tobias123 opened this issue · 5 comments
123tobias123 commented
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?
123tobias123 commented
Yes that was the problem. Thank you very much! :)
PhantomTide commented
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 !