Wednesday, November 28, 2018

Installing PIP for Python 2.7 on Windows 10.

I downloaded and installed Python 2.7 from python.org.  Then I went to run a script I found online but the script required modules/dependencies.   Anyone that has ever installed a module in Python knows you need to run the pip command via the command line to install a module.  
I go to run pip and the fresh install of Windows 10 tells me it's not installed.

I go to https://packaging.python.org/tutorials/installing-packages/ and it tells me to download and run get-pip.py which they give you the download link for. 

I download the file and run it via Administrative command prompt and it tells me that it couldn't download because of an sslerror. (
Really!

Their alternative instructions lead me to download two .whl files which are installed using Wheel (a Python module)

Alright so how do you install Wheel.  Well.... you use pip to install Wheel.  (https://wheel.readthedocs.io/en/stable/installing.html)

Im not sure this was well thought out.

After some research and a gracious answer from user956584 on https://stackoverflow.com/questions/49883457/python-pip-install-sslerror-windows I downloaded a different package of Python 2.7 from Python.org

https://python.org/ftp/python/2.7.15/python-2.7.15.msi

This package installed with pip.  It added Python and pip to the PATH.  I did have to upgrade pip afterwards but that was the easy part. 


Installing PIP for Python 2.7 on Windows 10.

I downloaded and installed Python 2.7 from python.org.  Then I went to run a script I found online but the script required modules/dependenc...