python multiprocessing in Jupyter on Windows: AttributeError: Can’t get attribute “abc”
I got multiprocessing to work from within a Jupyter notebook on Windows by saving my function in a separate .py file and including that file in my notebook. Example: f.py: def f(name, output): output.put(‘hello {0}’.format(name)) return Code in Jupyter notebook: from multiprocessing import Process, Queue #Having the function definition here results in #AttributeError: Can’t get … Read more