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

ImportError: lxml.html.clean module is now a separate project lxml_html_clean. #14135

Open
5 tasks done
chiiscoming opened this issue Feb 21, 2025 · 1 comment
Open
5 tasks done
Labels
🐞 bug Something isn't working

Comments

@chiiscoming
Copy link

chiiscoming commented Feb 21, 2025

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.15.3

Cloud or Self Hosted

Self Hosted (Code)

Steps to reproduce

Image

✔️ Expected Behavior

No response

❌ Actual Behavior

when I try to get the tool page, error occur.

Image
@dosubot dosubot bot added the 🐞 bug Something isn't working label Feb 21, 2025
Copy link

dosubot bot commented Feb 21, 2025

I found a similar unsolved discussion regarding the ImportError related to the lxml.html.clean module being a separate project now. You can view the discussion here [1].

To resolve the ImportError, you can try installing the lxml_html_clean package directly. You can do this by running:

pip install lxml_html_clean

Alternatively, if you want to use the lxml package with the html_clean feature, you can install it with:

pip install lxml[html_clean]

These steps should help resolve the import issue you're encountering.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant