PythonDataScienceHandbook icon indicating copy to clipboard operation
PythonDataScienceHandbook copied to clipboard

Import Error: The Python Imaging Library (PIL) is required to load data from jpeg files

Open ejogion opened this issue 7 years ago • 0 comments

For the Face Recognition example in section 05.07 there is the need to also import imread or else the code will not execute, a Import Error will occur. Adding the following solves the issue: from matplotlib.pyplot import imread

ejogion avatar Sep 26 '19 11:09 ejogion