What does `Fatal Python error: PyThreadState_Get: no current thread` mean?

前端 未结 1 1825
误落风尘
误落风尘 2020-12-11 05:06

I am passing an mpi communicator from python to C. I chose to use boost\'s mpi communicator as mpi4py does not seem to have good C support. Check it out:

            


        
相关标签:
1条回答
  • 2020-12-11 05:38

    This problem may occur if the .so file from homebrew's formula links against a different python library than the interpreter you are running, see also this thread and this response.

    If you have no other dependencies then running your program using the python interpreter from homebrew (which should be located in /usr/local/bin/) may solve the issue.

    0 讨论(0)
提交回复
热议问题