This post guides you to install python 3 on windows and pip which is a package installer for Python. The latest version at the time of download is Python 3.9.6
Step 1: Download
Go to Download https://www.python.org/downloads/ page and download the latest version
Step 2: Install
Run the python-3.9.6-amd64.exe executable file. Right click the file and Run as administrator. If you are running in your own machine with admin rights Run as administrator is not necessary.
Step 3: Finish the Setup
You will get a Setup Successful message. Close the dialog.
Step 4: Check Python Version
Open the command prompt and verify python is installed.
Type python --version or python -V
Just entering python will show the python version and open the python terminal.
How to exit from the python terminal
Enter exit() command to quit from python terminal.
Check PIP version
To Verify PIP is installed check the PIP version.
pip --version
Check Python Environment Variables
Go to Environment variables and check python is in the path. If you download the python installation zip file, this setting will helpful for you to add the environment variables manually.
Troubleshoot compatibility
If Run as administrator doesn't works try with Troubleshoot compatibility and select Try recommended settings. Select Test the program. Continue from Step 1 to step 4. Deselect Install launcher for all users (recommended) option. Install for all users may require additional admin privileges.
At last, when you get a successful installation dialog, the Troubleshoot compatibility dialog won't automatically close. Click cancel to close it manually.