[Python] Cython Multiple Definitions of Function

Discussão em 'Python' iniciado por Stack, Julho 2, 2025.

  1. Stack

    Stack Membro Participativo

    I am using Cython to generate multiple C files from multiple Python files and then compile them using GCC. Using Python3.10 on Ubuntu 22.04 my tool flow works fine. When I switch to Kubuntu 20.04 with Python3.8, the compilation of the generated C files fails.

    multiple definitions of '__pyx_CommonTypesMetaclass_get_module'


    Does someone know what the issue might be here? I used Cython on the Kubuntu machine to regenerate the C files. On both machines, I used the standard package versions.

    Continue reading...

Compartilhe esta Página