How to Install Python and PIP on Windows 10

Recently I had to install Python on Windows 10 so I could use Closure Linter in PHPstorm. This is a simple guide to show you exactly what to do to install Python and PIP on your Windows 10 machine.

Download Python

The first step is to download Python from python.org and select the most recent version to install (in this case 3.5.1).

python-latest-version

On the next page, scroll to the bottom of the page, you will then see a table that looks like this:

download-python-installer

You should select the Windows x86-64 executable installer assuming you have a 64bit system. (why wouldn’t you?)

Install Python

Once it has downloaded, double click on the installer, you will be presented with the following:

python-installation-options

Note: You must ensure that you select Add Python 3.5 to PATH and then select Install Now.

After the setup has run you should see a Setup was successful message. You can then select Close and Python is now installed.

Installing and Testing PIP

PIP is a package management system for Python, so you will want to install this handy tool to make your life simpler.

To install PIP first head over to Get PIP, you will see something like this:

get-pip

Right click on the get-pip.py link and select “Save Link As…”. Save it to somewhere that is easily accessible like your desktop. Once saved you will see the following on your Desktop.

get-pip-installer

Since you have already installed Python, Windows will now understand that this is a Python script (.py) and will allow you to run it. Just double click on the file and let it run. A command prompt-like window will open and do its thing before closing again.

Add PIP to the Windows Environment Variables

Before you can use PIP you will need to add it to the Windows Environment Variables and to do that open up Control Panel > System and Security > System and select Advanced system settings from the left hand side, a pop up will appear like this:

windows-system-properties

Next select Environmental Variables and under System variables locate the Path variable, then double click on it.

windows-system-variables-path

A new window will open up, select New and type C:\Python35\Scripts, it should look something like this:

add-new-enviroment-variable

Finally click OK on all the opened windows.

How to verify if PIP is working?

To verify if PIP is working just open up command prompt and type pip. If it is successful you will get something like this:

testing-pip-command-prompt

Congratulations you have now installed Python and PIP and Windows 10.

In Category: Installation Guide, Python

Matthew Horne

I am a web developer from the United kingdom who taught himself PHP and JavaScript and continues to build on those skills as well as learn new skills.

Show 7 Comments
  • Kyle 27th August 2016, 5:08 am

    Thank you for this tutorial, it saved me a lot of time and made life easier. Much appreciated.

    • Matthew Horne 28th August 2016, 6:18 am

      Glad it saved you time, I wrote this for myself, but figured it would be helpful for others too.

  • Andy 23rd September 2016, 6:44 pm

    Thanks for sharing this, Matthew. I’m just getting into Python development. I have a Mac, but my Windows desktop is my primary machine. This little tutorial is a big help in making things a bit more consistent between the two environments. 🙂

    • Matthew Horne 29th September 2016, 2:58 am

      Glad this helped you.

  • DeeBee 26th September 2016, 6:01 pm

    Thanks! Nice and clear, it’s much appreciated.

  • Oleg 22nd October 2016, 5:46 pm

    Thanks Matthew! Much appreciated!

  • Bart 3rd November 2016, 6:59 pm

    THX! That was really helpful.

Leave a Comment