Skip to content

Instantly share code, notes, and snippets.

@AdilHindistan
Last active January 15, 2017 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdilHindistan/284608b0cac0c193a34110abe4c5ee9e to your computer and use it in GitHub Desktop.
Save AdilHindistan/284608b0cac0c193a34110abe4c5ee9e to your computer and use it in GitHub Desktop.
## Download & Install Python 2.7.x using the msi
https://www.python.org/downloads/
## Download pip from https://bootstrap.pypa.io/get-pip.py (Use PowerShell) to D:\Temp
PS C:\> Invoke-WebRequest -Uri 'https://bootstrap.pypa.io/get-pip.py' -OutFile D:\temp\get-pip.py
## Copy get-pip.py to Scripts folder under Python > Tools > Scripts
## Make sure you started PowerShell on an elevated window (Runas Administrator) as it needs to write to 'Program Files(x86)'
PS C:\> copy-item D:\temp\get-pip.py 'C:\Program Files (x86)\Python27\Tools\Scripts\' -force
## Run get-pip.py
## It seems to install itself to 'Scripts' folder directly under Python Install folder
## In this case: 'C:\Program Files(x86)\Python27\Scripts'
PS C:\> python 'C:\Program Files (x86)\Python27\Tools\Scripts\get-pip.py'
Collecting pip
Using cached pip-9.0.1-py2.py3-none-any.whl
Collecting setuptools
Using cached setuptools-32.3.0-py2.py3-none-any.whl
Collecting wheel
Using cached wheel-0.29.0-py2.py3-none-any.whl
Installing collected packages: pip, setuptools, wheel
Successfully installed pip-9.0.1 setuptools-32.3.0 wheel-0.29.0
PS C:\>
## Install Pylint
PS C:\> python -m pip install pylint
Collecting pylint
Downloading pylint-1.6.4-py2.py3-none-any.whl (569kB)
100% |################################| 573kB 1.3MB/s
Collecting astroid<1.5.0,>=1.4.5 (from pylint)
Downloading astroid-1.4.9-py2.py3-none-any.whl (213kB)
100% |################################| 215kB 3.1MB/s
Collecting mccabe (from pylint)
Downloading mccabe-0.5.3-py2.py3-none-any.whl
Collecting configparser; python_version == "2.7" (from pylint)
Downloading configparser-3.5.0.tar.gz
Collecting backports.functools-lru-cache; python_version == "2.7" (from pylint)
Downloading backports.functools_lru_cache-1.3-py2.py3-none-any.whl
Collecting six (from pylint)
Downloading six-1.10.0-py2.py3-none-any.whl
Collecting colorama; sys_platform == "win32" (from pylint)
Downloading colorama-0.3.7-py2.py3-none-any.whl
Collecting isort>=4.2.5 (from pylint)
Downloading isort-4.2.5-py2.py3-none-any.whl (40kB)
100% |################################| 40kB 4.1MB/s
Collecting wrapt (from astroid<1.5.0,>=1.4.5->pylint)
Downloading wrapt-1.10.8.tar.gz
Collecting lazy-object-proxy (from astroid<1.5.0,>=1.4.5->pylint)
Downloading lazy_object_proxy-1.2.2-cp27-cp27m-win32.whl
Building wheels for collected packages: configparser, wrapt
Running setup.py bdist_wheel for configparser ... done
Stored in directory: C:\Users\adil\AppData\Local\pip\Cache\wheels\1c\bd\b4\277af3f6c40645661b4cd1c21df26aca0f2e1e9714a1d4cda8
Running setup.py bdist_wheel for wrapt ... done
Stored in directory: C:\Users\adil\AppData\Local\pip\Cache\wheels\19\8a\01\20cf74c3f38d49ef8e9b9aa7ffd38cefff79bad9f6f2c651f0
Successfully built configparser wrapt
Installing collected packages: wrapt, lazy-object-proxy, six, astroid, mccabe, configparser, backports.functools-lru-cache, colorama, isort, pylint
Successfully installed astroid-1.4.9 backports.functools-lru-cache-1.3 colorama-0.3.7 configparser-3.5.0 isort-4.2.5 lazy-object-proxy-1.2.2 mccabe-0.5.3 pylint-1.6.4 six-1.10.0 wrapt-1.10.8
PS C:\>
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment