Multiple Methods to Verify Python Installation on Windows 11

Python is a widely used language for programming various applications, even used to develop Artificial intelligence, machine learning, and data analysis… Hence, if you are new to programming and have installed Python on your Windows 11 or 10 PC but not sure it has been installed correctly then here are five ways to check whether Python is configured correctly on Windows system or not.

Different Ways to Check Python is Installed in Windows 11

If you don’t have Python installed already on your system then can see our article which shows a single command to get both Python and PIP package manager on Windows 11. 

1. Using Command Prompt

The first way is to use the command line and for that, we use the CMD of Windows. It is the best way to find out which version of Python is installed on your laptop or PC.

python --version

2. PowerShell

Similar to Command Prompt, PowerShell is Microsoft’s command-line shell and scripting tool available on Windows platforms. If you don’t want to use CMD then can use it to verify the Python installation. To start it, just search for “Powershell” in your Windows 11 search box. Once it opens, use the same command as CMD:

python --version

or

python -V

These commands will provide information about the installed Python version.

command to python version in Windows

3. Checking Python Interpreter

Here is another way we can use to confirm we have Python installed on our Windows 11; instead of checking its version we directly access the Python Interpreter on the command prompt or Powershell. For that, again open CMD or PowerShell as per your convenience and type:

python

This will open the Python interpreter if the Python is installed on your system otherwise you will see that the command not found error.

Type exit() and press enter to leave the Python interpreter command screen. You can also use quit() or Ctrl-Z plus Return key to exit

Checking Python Interpreter

4. Checking Python IDLE:

When we install Python using its executable file on Windows 11 or 10, it will also install IDLE (Python’s Integrated Development and Learning Environment) to execute Python code. So, users can search for “IDLE” in their Windows Start menu to confirm the system has the Python installation.

Checking Python IDLE

5. Checking Environment Variables

You can further look at the added environment variables on your Windows 11 system to know whether Python is correctly added to your PATH and also to confirm the location of its executable files.

  • Right-click on “This PC” or “Computer” on your desktop or File Explorer and select “Properties.”
  • Click on “Advanced system settings” and then the “Environment Variables” button.
  • Under “System variables or User Variables,” look for the “Path” variable. If Python is installed, you should see a path similar to:
C:\Users\YourUsername\AppData\Local\Programs\Python\Python3.x\Scripts
C:\Users\YourUsername\AppData\Local\Programs\Python\Python3.x
Checking Environment Variables for python

6. Checking via Python Installer:

We can also check that Python is already installed on Windows 11 by using its Installer setup. If you have downloaded Python from its official website then locate that executable file and double-click it. If Python is already configured then you will have a window with an option to “Repair“, “Modify” or “Uninstall” the installation.

Checking via Python Installer

Conclusion:

Verifying the installation of Python on your Windows 11 system, as you have seen, is not a complicated task. Simply by checking its version can ensure that whether the python is available on your system or not. Nevertheless, we have shown multiple methods you can choose any one of them for a seamless development experience on your Windows 11 environment.