Below are the easy steps to install and setup python on Windows (I tried with Windows 10).
click here to read Python2 or Python3?
-
- Download Python from https://www.python.org/downloads/
- Install it on your C drive
- Search PowerShell from Start menu or Windows search box. Click on it to open.
- Type python in your PowerShell (Terminal)
- If you get any error or python is not recognized, then type below one and press ENTER
[Environment]::SetEnvironmentVariable(“Path”,”$env:Path;C:\Python27″, “User”)
Note: Replace C:\Python27 with path where you installed python on C drive (step 1)
6. Restart PowerShell
7.Type python and press ENTER. It will show python version installed on your PC.
Type exit() and press ENTER to exit python
8. If you still get any error, restart your PC and try. It works 🙂
Also read Simple steps to install/uninstall pygame on windows [using pip]