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

Installing with lxml-5.2.1 ImportError: cannot import name '_ElementStringResult' from 'lxml.etree' #232

Open
svoss opened this issue May 7, 2024 · 2 comments

Comments

@svoss
Copy link

svoss commented May 7, 2024

It seems that installing extruct via pip install extruct now automatically install lxml 5.2.11 which causes the following import error:

ImportError: cannot import name '_ElementStringResult' from 'lxml.etree'

I am running python 3.10, have been able to fix it by installing lxml[html_clean]==4.9.3.

Seems to be fixed in the master branch, maybe make a new version?

@michael-genson
Copy link
Contributor

This is fixed, just not in a release yet: #217

@tonal
Copy link

tonal commented May 22, 2024

This is fixed, just not in a release yet: #217

When can I wait for the release?

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

3 participants