How to Solve NameError: name 'misc' is not defined -- scipy

Solution: Import the 'misc' module

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

from scipy import misc

 

For more information:
Python scipy misc