Navigate to the directory in which Python was installed on the system. In our case, it is C:\Users\Username\AppData\Local\Programs\Python\Python37 since we have installed the latest version.
Double-click python.exe.
Verify Pip Was Installed
File Name :
Open the Start menu and type “cmd.”
Select the Command Prompt application.
Enter pip -V in the console. If Pip was installed successfully, you should see the following output:
Add Python Path to Environment Variables (Optional)
File Name :
1. Open the Start menu and start the Run app. run dialog box
2. Type sysdm.cpl and click OK. This opens the System Properties window.
3. Navigate to the Advanced tab and select Environment Variables.
4. Under System Variables, find and select the Path variable.
5. Select the Variable value field. Add the path to the python.exe file preceded with a semicolon (;). For example, in the image below, we have added “;C:\Python34.”
6. Click OK and close all windows.
By setting this up, you can execute Python scripts like this: Python script.py
Instead of this: C:/Python34/Python script.py