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

Solution: Import the 'Pool' module

# Add the following line to the top of your code
from multiprocessing import Pool

 

For more information:
multiprocessing Pool