Well, the multiprocessing library with Jupyter Notebook is hard to use under Windows. You’ll need to refactor your code a little bit to make it work. See https://medium.com/@grvsinghal/speed-up-your-python-code-using-multiprocessing-on-windows-and-jupyter-or-ipython-2714b49d6fac 92 for more details.