How to Solve NameError: name 'data' is not defined -- skimage

Solution: Import the 'data' module

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

from skimage import data

 

For more information:
Python skimage data