Closed leftbones closed 4 months ago
import urllib.request import html2text def get_html(): return urllib.request.urlopen("http://www.google.com/").read().decode("utf-8", "ignore") html = get_html() text = html2text.html2text(html) print(text)
This code (based on the basic usage example) is giving me the following error:
AttributeError: partially initialized module 'html2text' has no attribute 'html2text' (most likely due to a circular import)
Version: 2020.1.16 Python: 3.9.5
Did you get any answer for this?
Closing as I cannot reproduce this, at least by the latest version at the time being (version: 2024.2.25).
2024.2.25
Please feel free to open a new issue if the problem occurs again,
This code (based on the basic usage example) is giving me the following error:
AttributeError: partially initialized module 'html2text' has no attribute 'html2text' (most likely due to a circular import)
Version: 2020.1.16 Python: 3.9.5