Go to the official Python website: https://www.python.org/downloads/
Download the latest Python installer for Windows
Open the downloaded installer
Check the box for Add python.exe to PATH
Click Install Now
Wait for the installation to finish
Open Command Prompt
Type python –version and press Enter
Type pip –version and press Enter
If Python is not recognized, restart the computer and try again
To install a specific version, download it from the Python downloads page and run the installer
