install pil python 3 code example
Example 1: install PIL
pip install pillow
Example 2: pil python install
# The new version of PIL is called Pillow, use that instead:
pip install pillow
Example 3: how to import pil in spyder
conda install --channel conda-forge pillow=5