Wind Layer Blog

How to Install Python on Windows 10

Python has become one of the leading programming languages among beginner and experienced programmers. It is easy to learn and understand, providing a syntax that is somewhat similar to the English language.
It is also used in a wide array of applications such as artificial intelligence, data analytics, and web development. Learning Python can therefore give many career options. In this tutorial, you’ll learn how to install Python on a Windows 10 PC using the Python Installer.

1) Prerequisites

This tutorial assumes you have:

  • Windows 10 installed on your PC
  • Internet connection

2) Downloading the Python Installer

The first step is to go to the Python official website and download the latest stable version. In this tutorial, we’ll be using the Python 3.12.1 version.
Click Download and the Python Releases for Windows will appear. Next, click the appropriate Windows installer for your system: Windows installer (64-bit) or Windows installer (32-bit).

Wait for the download to complete.

3) Running the Installer

After downloading the installer, navigate to your Downloads folder and double-click the .exe file. It will initialize the installation process.

You can choose Install Now or Customize Installation. The Install Now option is ideal if you are new to Python. It will install all the default features.

Customize Installation is ideal if you want to install advanced features. In this tutorial, we will choose the Customize Installation option.

Select Add python.exe to PATH, which allows you to launch Python and run scripts from any terminal or command prompt directory.

Click Next and the Optional Features dialog will appear. You can choose all or some of the features.

Documentation option (recommended)  installs Python’s documentation. pip allows you to install other Python packages. tcl/tk and IDLE allow you to use the IDLE environment. The Python test suite makes testing your Python scripts easy.

Finally, the py launcher and for all users enables all users to run Python from the terminal.

Click Next and the Advanced Options dialog will display.

From here, you can choose to install Python for all users, precompile the standard library, and download debugging symbols, among others.

Some of the recommended options are:

  • Install for all users
  • Associate files with Python
  • Create shortcuts for installed applications
  • Add Python to environment variables

While not recommended, you can customize the installation directory. Click Install to start the installation process.

Once done, a Setup was successful message will appear. Click Close to close the dialog.

4) Verifying Python Installation

You can verify that the installation process was successful by opening the command prompt or through the Integrated Development Environment (IDLE) if you have installed it.

To use the command prompt, click Start and type cmd in the search bar. Click Command Prompt and enter the Python –version command.

				
					Python --version
				
			

It will display the Python version currently installed on your PC. For example,

				
					Output
Python 3.12.1

				
			

Conclusion

Now you have Python installed on your Windows 10 PC. You can start using it to learn coding. There are many online learning resources, ranging from YouTube to free and paid courses.

Share the Post:

Related Posts