-
-
Notifications
You must be signed in to change notification settings - Fork 410
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
over test suite (Ubuntu 20.04 and benchmarks)
#6798
Comments
I looked into this for a bit more context:
Some more discussion: Maybe in the short term we should migrate to the html_clean package, just to silence the CI errors but then we may want to consider whether we should replace it? |
I played with nh3, here's a branch using that instead of lxml: The main difference is handling quotes, where |
Oh I see, seems like then moving away from |
…ml_html_clean` over test suite (Ubuntu 20.04 and benchmarks) (#6799) # References and relevant issues Part of #6798 # Description Fix test suite by adding new `lxml_html_clean` dependency due to `lxml` 5.2.0 moving the `lxml.html.clean` module to that package (`lxml_html_clean`) --------- Co-authored-by: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com>
Currently facing this error on a planned Notebook too |
It perfectly worked : I could update 🥷 Neo4J Ninjas duckdb dataset 🦆 |
It's impossible to figure out what the issue is. |
@jamesnq are you using napari? There's no way to tell from your screenshot. Please post the entire traceback as text. Thanks! |
Thanks for your reply, I already fixed the error. I install the lxml_html_clean library and run with python 3.10 instead of 3.12 and it works! |
I had a similar issue, I am running a python 3.10 env, to solve the problem had to do: |
Try to
It might do the trick. This worked for me |
try to install lxml_html_clean with python 3.10
…On Sun, 26 May 2024 at 18:33 Luis ***@***.***> wrote:
Try to
pip install lxml_html_clean
It might do the trick. This worked for me
—
Reply to this email directly, view it on GitHub
<#6798 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANKRCJ6EQRHAL4SEK5F7F4LZEHB7PAVCNFSM6AAAAABFR42XACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZSGE4DMMZZHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
🧰 Task
Seems like the latest release of
lxml
(5.2.0) moved a module to be an independant package (lxml.html.clean
-> newlxml_html_clean
package)? See https://github.com/napari/napari/actions/runs/8510883283/job/23309875720?pr=6794#step:11:174 and https://github.com/napari/napari/actions/runs/8510883283/job/23309397479?pr=6794#step:8:144The text was updated successfully, but these errors were encountered: