jakevdp / PythonDataScienceHandbook

Python Data Science Handbook: full text in Jupyter Notebooks
http://jakevdp.github.io/PythonDataScienceHandbook
MIT License
43.2k stars 17.93k forks source link

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

Open ejogion opened 5 years ago

ejogion commented 5 years ago

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