The issue you're facing could be due to different versions of Cython on the two systems. Even though you are using the same package versions, Cython's behavior can change between versions, leading to different output when generating C files.
The error message you're seeing, multiple definitions of '__pyx_CommonTypesMetaclass_get_module', might be caused by Cython generating the same function multiple times due to changes in the code generation process between versions.
To resolve this, I recommend ensuring that both systems are using the same version of Cython. Try using the same Cython version on both systems to see if that resolves the issue.