How to fix ModuleNotFoundError: No module named 'PIL'

ModuleNotFoundError: No module named 'PIL'
For data science projects, we strongly recommend using Conda to manage binary dependencies.
conda install -c conda-forge pillow

Verification

Command
python -c "import PIL; print(PIL.__version__)"
Expected output
Success! PIL version x.y.z (e.g., 2.4.0)