Open ducha-aiki opened 11 months ago
@Skydes @Tobias-Fischer
The explanation in that thread is that
Using the classic find_package(pybind11 REQUIRED) & then pybind11_add_module(XX MODULE $SRCS) lead to python being hardlinked causing the PyMutex_Lock.
Hi,
I have remembered why I needed all that "FindPythonPyEnv" business. Without it, after successful compilation, I got the import crash:
And the solution I was using is actually described in the still open PyBind11 issues: https://github.com/pybind/pybind11/issues/3081#issuecomment-935902332