Parallel PyJulia

I am trying to train a RL model for controlling a kite. I am using python for training, and julia for the simulation. I want to speed up training using parallel deep RL. When trying to run julia functions from python in parallel using ProcessPoolExecutor I get the error:
fatal: error thrown and no exception handler available.
ReadOnlyMemoryError()
How should I progress?