Using PyCall on different threads crashes my Julia REPL

Python isn’t thread safe.

(Realize that PyCall is calling a single instance of the standard Python interpreter libpython that shares memory with the Julia process. This Python interpreter does not support concurrent calls. PyCall is not launching separate python processes, which would be very slow (but thread-safe).)

3 Likes