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

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

Leave a Comment