In this section, we will see how to install Pillow on different operating systems:
- Windows: Pillow can be installed on windows using pip. Open the command-line tool on your Windows machine and type in the following command and press Enter:
$: pip install Pillow
pip already comes installed with Python 2>=2.7.9 and Python 3>=3.4. In case you do not have pip installed, follow the official instructions given at https://pip.pypa.io/en/stable/installing/#do-i-need-to-install-pip.
- OSX/macOS: For OSX/macOS, we will use Homebrew to install Pillow.
Go to https://brew.sh/ for instructions on how to install Homebrew in case you do not have it installed.
Open the terminal on your Mac. First, install the dependencies and then pillow using ...