Replies: 1 comment
-
I had a very similar problem on my Mac, using CPython C API. The faulthandler spits out basically the same thing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
I've attempted to use pybind11 on a Windows machine with g++:
However, when I tried to import the generated
pyd
module in my Python code with a simpleimport util
, Python crashes silently, without giving an error. I've specified DLLs withos.add_dll_directory()
. I've also usedfaulthandler.enable()
to try to see what is going on, as there is no error output and Python crashes mysteriously. This is what is spat out by fauthandler before the program finishes:I doubt the issue is with my code, and rather the environment or my compilation command — running any of the pybind11 examples has the same error.
It's also unlikely that this is due to missing dependencies, as I ran into the issue
The specified module could not be found
and fixed it by usingos.add_dll_directory
.Thanks for your help in advance.
Beta Was this translation helpful? Give feedback.
All reactions