pip3 insall PIL code example Example: pil python install # The new version of PIL is called Pillow, use that instead: pip install pillow