How to install PIL on Windows
How to Install PIL on Windows
In this article, we will look at various methods for installing the PIL package on a Windows machine.
For PIP Users
Open a command prompt and use the following command to install the PIL package.
pip install Pillow
Once the installation is complete, the following message will be displayed.
To verify the installation, run the following code in the Python IDE of your choice.
import PIL
IL.__version__
Output:
For Conda Users
Conda users can open Anaconda PowerShell and use the following command to install PIL.
conda install -c anaconda Pillow
After the installation is complete, the following information will be displayed.
To verify the installation, run the following code in the Python IDE of your choice.
import PIL
IL.__version__
Output: