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 how 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 “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

[flex_block type=”tip” header=”” content=”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 link “get-pip.py” 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 the following.

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 on 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 ones. If you would like to hire me, shoot me an email.

Show 17 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.

  • George 17th February 2017, 10:57 am

    Hi love you!
    Thanks sooo much!

  • Steven 6th March 2017, 12:58 am

    THANKS! for sharing this…. i was driving crazy hahaha

  • Jason 25th March 2017, 11:28 am

    Thanks for the really clear instructions – has saved me lots of time!

  • RedAdder 22nd May 2017, 1:23 am

    Thank you so much, this actually helped me out a tons!

  • Reja Marjana 27th May 2017, 1:05 am

    Thank you very much.. Its really h3lp me when out there everyone just sahare guide about phyton 2.7
    Im new in phyton and going dizzy about that

  • Yue 5th June 2017, 10:18 pm

    Thanks a lot. Tried to install the tensorflow. But the official guide didn’t mention the thing “Add Python 3.5 to PATH “.

  • AK 25th June 2017, 1:09 pm

    Thanks a lot Do you have a tutorial for quandl install as well ?

    • Matthew Horne 28th June 2017, 6:03 am

      I don’t, i typically write these posts if i need a reference to installing something that isn’t really clear elsewhere.

  • Shane 2nd July 2017, 9:04 am

    Hi,
    I’ve just installed Python 3.6 on Windows 10- set for all users and added to path. Pip works but only when using a Command Prompt as Administrator- otherwise I get permissions errors when it tries to install the downloaded modules.
    It’s workable but a bit of a pain. Do you have any idea how to resolve this?

    Thanks

    Shane

    • Matthew Horne 6th July 2017, 4:43 am

      Hi Shane, PIP should really only be used at the administrator level. I would keep it that way.

Leave a Comment