CompressorBot icon indicating copy to clipboard operation
CompressorBot copied to clipboard

lxml error

Open wilyJ80 opened this issue 6 months ago • 0 comments

[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.

wilyJ80 avatar Aug 17 '24 22:08 wilyJ80