Pybind11: Accessing python object with OpenMP using for-loop
问题 I am trying to operate a c++ function on all elements of a python dictionary. For this I use a for loop in c++ over all elements of the dictionary. In this case and as far as I understand, this can be sped up using the #pragma omp parallel for simd clause. However, when I run it, I get the error: GC Object already Tracked Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) Edit I have read on this post that the problem comes from the way of accessing a Python object in c++