Install Python on Windows 10
Follow the steps below to install Python, pip, and
virtualenv on windows 10:
Go to the official site of Python and
download the latest version of Python. At the time of writing
this tutorial, the latest stable version of Python
was 3.9.0. On the Python download page, choose the download link for Windows x32-64 executable installer as shown in the image below:
After the download is complete, run the Python
Select Install launcher for all users and Add Python3.9 to Path checkboxes.
Next, select Install Now - this is
the recommended option and it will also install Pip.
Pip is a package management utility tool that
simplifies installation and management of software
packages from Python Package Index (PyPI) and other
The next window will prompt you to whether Disable path length limit. If you select to disable this option, it will
allow Python to bypass the 260 character MAX_PATH
limitation. I would recommended you to select this
Next, close the window.
After the installation is complete, open the Windows
command prompt and execute the following command to
verify the installation of Python:
You must see the currently installed version of
Python in the terminal as shown below:
Next, verify the installation of Pip by executing
the following command in the Windows command prompt:
You must see it's version on the terminal if it is
installed on your system.
Installing Virtual Environment
A Python Virtual Environment is a tool that helps to
create an isolated environment for a project.
In your Windows command shell prompt, execute the
following command to install the Virtual
pip3 install virtualenv
Next, open the Windows command prompt and execute
the following command to verify if the virtualenv is
If you see its version, then it is installed on your