How to Solve NameError: name 'current_process' is not defined -- multiprocessing

Solution: Import the 'current_process' module

To Solve the error, add the following line to the top of your code.

from multiprocessing import current_process

 

For more information:
Python multiprocessing current_process