Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lxml error #53

Closed
wilyJ80 opened this issue Aug 17, 2024 · 0 comments
Closed

lxml error #53

wilyJ80 opened this issue Aug 17, 2024 · 0 comments

Comments

@wilyJ80
Copy link

wilyJ80 commented Aug 17, 2024

[vic@archlinux CompressorBot]$ sudo docker run compressor
Traceback (most recent call last):
  File "/bot/start.py", line 16, in <module>
    from helper._get import *
  File "/bot/helper/__init__.py", line 36, in <module>
    from html_telegraph_poster import TelegraphPoster
  File "/usr/local/lib/python3.9/site-packages/html_telegraph_poster/__init__.py", line 1, in <module>
    from .html_to_telegraph import upload_to_telegraph, TelegraphPoster
  File "/usr/local/lib/python3.9/site-packages/html_telegraph_poster/html_to_telegraph.py", line 7, in <module>
    from .converter import convert_html_to_telegraph_format, convert_json_to_html, OutputFormat
  File "/usr/local/lib/python3.9/site-packages/html_telegraph_poster/converter.py", line 6, in <module>
    from lxml.html.clean import Cleaner
  File "/usr/local/lib/python3.9/site-packages/lxml/html/clean.py", line 18, in <module>
    raise ImportError(
ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
Install lxml[html_clean] or lxml_html_clean directly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants