How to Install Python Pyscreenshot on Windows?
Last Updated :
23 Jul, 2025
PyScreenshot is a Python module and built since the PIL ImageGrab module only supported Windows, although Pillow now supports Linux and macOS as well. Flexible backends, Wayland compatibility, occasionally superior performance, and optional sub-processing are some of the main features of PyScreenshot that make it more useful in many scenarios. Using various back-ends, the module can copy the contents of the screen to a Pillow image memory. This module also replaces the ImageGrab module. Now in most circumstances, the PyScreenshot module is no longer needed. In this article, we will see how to install PyScreenshot on Windows.
Installing PyScreenshot on Windows
Method 1: Using pip to install PyScreenshot package on Windows
Follow the below steps to install the PyScreenshot package on Linux using pip:
Step 1: First we install the current version of Python3 in the Windows system.
Step 2: Now we check if pip and python are correctly installed or not in our system by checking their versions:
python --version
pip --version

Step 3: Upgrade pip3 to smoothly run the installation process without getting any errors.
pip install --upgrade pip

Step 4: Now we using the following command to install PyScreenshot using pip.
pip install PyScreenshot

Method 2: Using setup.py to install PyScreenshot on Windows
Follow the below steps to install the PyScreenshot package on Windows using the setup.py file:
Step 1: Download the latest source package of PyScreenshot for python3 from the website for Windows.
curl https://files.pythonhosted.org/packages/d1/75/424e89c341b54040423f55c08cf94946bc38c3fcc4cadbae05e12c09cd2a/pyscreenshot-3.0.tar.gz > pyscreenshot.tar.gz

Step 2: Now we extract the downloaded PyScreenshot package by using the following command:
tar -xzvf pyscreenshot.tar.gz

Step 3: Go inside the pyscreenshot-3.0 folder and use the following command to install the package.
cd pyscreenshot-3.0
python setup.py install

Verifying PyScreenshot installation on Windows:
Now we check if the PyScreenshot is successfully installed or not on our Windows system. To do this we import the PyScreenshot package in our Python terminal.
import pyscreenshot

Here, we doesnot get any error will importing the pyscreenshot package then which means the package is successfully installed.
Similar Reads
How to Install Pyglet in python on Windows? The pyglet library is a cross-platform windowing and multimedia library for Python, intended for developing games and other visually rich applications. In this article, we will look into the process of installing Pyglet in Python on Windows. Pre-requisites: The only thing that you need for installin
2 min read
How to Install Python-pyscreenshot on Linux? Python offers multiple libraries to ease our work. Here we'll find out how to click a screenshot using Python. Python provides a package called pyscreenshot for this task. It is only a pure Python wrapper package, with a thin layer over existing back-ends. The performance and interactivity are not v
2 min read
How to Install PyGTK in Python on Windows? PyGTK is a Python package or module that enables developers to work with GTK+ GUI Toolkit. This is how WikiBooks describes GTK+: "GTK+ is a highly usable, feature rich toolkit for creating graphical user interfaces which boasts cross platform compatibility and an easy to use API." And this is how gt
5 min read
How to Install py2exe for Python on Windows? Py2exe is a Python package that allows the building of standalone Windows executable programs that can be 32-bit or 64-bit from Python scripts. This package has only support to Windows operating system. It can build console executable and windows (GUI) executable. So, in this article, we will be ins
2 min read
How to install Python on Windows? Python is a high-level programming language that has become increasingly popular due to its simplicity, versatility, and extensive range of applications. The process of How to install Python in Windows, operating system is relatively easy and involves a few uncomplicated steps. This article aims to
5 min read
How to Install OpenCV for Python on Windows? Prerequisite: Python Language Introduction  OpenCV is the huge open-source library for computer vision, machine learning, and image processing and now it plays a major role in real-time operation which is very important in todayâs systems. By using it, one can process images and videos to identify
4 min read