You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using pybind11 in DLL to load a python file code but it crashed when calling the py::module::import(...) function, and it stopped here.
My codes run well in an EXE, but in DLL it crashed.
Currently, I really do not know why.
I googled and tried to fix this issue but did not succeed.
Could anyone gimme an idea?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everybody,
I'm using pybind11 in
DLL
to load a python file code but it crashed when calling thepy::module::import(...)
function, and it stopped here.My codes run well in an
EXE
, but inDLL
it crashed.Currently, I really do not know why.
I googled and tried to fix this issue but did not succeed.
Could anyone gimme an idea?
Thanks,
Vic P.
Beta Was this translation helpful? Give feedback.
All reactions