How are symbols contained in the libpythonX.X linked to numpy extension dynamic libraries?
问题 I'm currently having a problem where I'm able to use and import numpy in an interpreter environment, but I'm unable to import or use numpy from python embedded in C/C++ . So I'm curious to how numpy extension libraries, specifically numpy/core/multiarray.cpython-35m-x86_64-linux-gnu.so is linked to the standard python package symbols ( PyExc_UserWarning symbol specifically). My current error output says that PyExc_UserWarning is undefined . This symbol exists in libpythonX.Y.m.so as I