Skip to content

Installation fails (Python 3.12) #181

@eriverosr

Description

@eriverosr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions