Python is a widely used high-level programming language. To write and execute code in python, we first need to install Python on our system.

Install Python on Windows takes a series of few easy steps.

Step 1: Download the Python Installer binaries

  1. Open the official Python website in your web browser. Navigate to the Downloads tab for Windows.
  2. Choose the latest Python 3 release. In our example, we choose the latest Python 3.11.1 version.
  3. Click on the link to download Windows x86 executable installer if you are using a 32-bit installer. In case your Windows installation is a 64-bit system, then download Windows x86-64 executable installer.

Step 2: Run the Executable Installer

  1. Once the installer is downloaded, run the Python installer.
  2. Check the Install launcher for all users check box. Further, you may check the Add Python 3.11 to path check box to include the interpreter in the execution path.
  3. Select Customize installation. Choose the optional features by checking the following check boxes:
  4. Documentation
  5. pip
  6. tcl/tk and IDLE (to install tkinter and IDLE)
  7. Python test suite (to install the standard library test suite of Python)
  8. Install the global launcher for `.py` files. This makes it easier to start Python
  9. Install for all users.
  10. Click Next.
  11. Select the Install for all users and Add Python to environment variables check boxes.
  12. Optionally, you may select the Associate files with Python, Create shortcuts for installed applications and other advanced options. After selecting the Advanced options, click Install to start installation.
  13. Once the installation is over, you will see a Python Setup Successful window

Ref: What Can I Do With Python?

Step 3: Verify the Python Installation

To ensure if Python is succesfully installed on your system. Follow the given steps −

  • Open the command prompt.
  • Type ‘python’ and press enter.
  • The version of the python which you have installed will be displayed if the python is successfully installed on your windows.

Step 4 − Verify Pip was installed

Pip is a powerful package management system for Python software packages. Thus, make sure that you have it installed.

To verify if pip was installed, follow the given steps −

  • Open the command prompt.
  • Enter pip –V to check if pip was installed.
  • The following output appears if pip is installed successfully.

We have successfully installed python and pip on our Windows system.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.