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.

How do I install PIL on Windows?

To verify the installation, run the following code in the Python IDE of your choice.

import PIL
  
IL.__version__

Output:

How do I install PIL on Windows?

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.

How do I install PIL on Windows?

To verify the installation, run the following code in the Python IDE of your choice.

import PIL
IL.__version__

Output:

How do I install PIL on Windows?

Leave a Reply

Your email address will not be published. Required fields are marked *