If you want to use Python 2, see the “Installing Python 2” method.

Python 3. 7 and newer will run on any Windows operating system except Windows XP. If you need to install Python 3 on XP, scroll down and click Download next to the most recently-updated version of Python 3. 4. [1] X Research source

If you don’t see this option, you’ll need to complete this method after you finish installing Python.

If you don’t see this option, you’ll need to complete this method after you finish installing Python.

If you didn’t have the option to select “Add Python to PATH” earlier, note the installation directory that appears here. You’ll need to add it to your system variables after installing. If you don’t want anyone else on the computer to use Python, you can leave the box unchecked.

If you didn’t have the option to select “Add Python to PATH” earlier, note the installation directory that appears here. You’ll need to add it to your system variables after installing. If you don’t want anyone else on the computer to use Python, you can leave the box unchecked.

Type cmd into the Windows search bar and press ↵ Enter. Type python and press ↵ Enter. You should see »> at the beginning of the current line. This means Python is working and the path is set correctly. If you see an error that says “python is not recognized as an internal or external command,” see the “Adding the Python Path to Windows” method. Type exit() to return to the command prompt.

If you don’t know which version of Python 2 to install, just click the first version beginning with “2. " In the list. This ensures you’re using the most recently-updated version.

If you have a 64-bit computer, select Windows x86-64 MSI installer. If you’re using a 32-bit computer, select Windows x86 MSI installer.

If you don’t see this option, see this method after installing Python.

Type cmd into the Windows search bar and press ↵ Enter. Type python and press ↵ Enter. You should see »> at the beginning of the current line. This means Python is working and the path is set correctly. If you see an error that says “python is not recognized as an internal or external command,” see the “Adding the Python Path to Windows” method. Type exit() to return to the command prompt.

Click inside the “Variable value” box to delete the selected text. Scroll all the way to the end of the text already in the “Variable value” box. Type a semicolon ; at the end of the text (no spaces). Type the full path to Python (e. g. , C:\Python27) right after the semicolon. Type a semicolon ; at the end of what you just typed (no spaces). Type the full path again, but add \Scripts to the end. Example: C:\Python27\Scripts;C:\Python27\Scripts. Click OK until you’ve closed all windows, and then restart your PC. No need to continue with this method.

For example, C:\Python27\Scripts.