Skip to content

installation error by using python 3.9 #8

@MohammadMohammadidoust

Description

@MohammadMohammadidoust

Hi. I have tried to install the package.
I faced an error during compilation:

lhapdf.cpp: In function 'PyObject* PyInit_lhapdf()':
lhapdf.cpp:16683:26: error: 'PyTypeObject' {aka 'struct _typeobject'} has no member named 'tp_print'
16683 | __pyx_type_6lhapdf_PDF.tp_print = 0;

I guess it's because of python3.9 .
how can I fix this problem?
thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions