Empowering you to understand your world

How to fix the ‘ModuleNotFoundError: No module named ‘pil” Error In Python

If you get a ‘ModuleNotFoundError: No module named ‘pil” when trying to run your Python machine learning app, it means you need to install the Pillow Imaging library, which you do with the following command:

pip install pillow
Subscribe to our newsletter
Get notified when new content is published