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

Installation fails (Python 3.12) #181

Open
eriverosr opened this issue Mar 18, 2024 · 0 comments
Open

Installation fails (Python 3.12) #181

eriverosr opened this issue Mar 18, 2024 · 0 comments

Comments

@eriverosr
Copy link

Package installation fails if it is installed with pip using Python 3.12.

The error is related to lxml version (v4.7.1):

src/lxml/etree.c:522:62: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}

It could be related to this change in Python 3.11.

I tried changing the setup.py requirements of the lxml package to [>4.7,<5.0] and it completed the installation.

@eriverosr eriverosr changed the title Cannot use with Python 3.12 Installation fails (Python 3.12) Mar 18, 2024
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

1 participant