When installing using pip
sudo pip install pillow
But when importing
Why are pillow and PIL names different?
Pillow is a fork of a library called
PIL , so in this case
import is the same as the original library's
import . In other words,
import is the same as
Pillow is a library that can be used as a replacement for
PIL itself is not compatible with
setuptools by nature, and it seems that the
PIL development schedule was too late for some developers to properly fix bugs and problems, so
PIL is finally a fork. It seems that it was done.