How to install Paramiko – Python

Make sure machine have direct internet access.


1. Go to Python27 folder.


C:>cd Python27


C:Python27>dir
 Volume in drive C is Windows
 Volume Serial Number is 7A6A-22DB


 Directory of C:Python27


09/07/2017  04:08 PM    <DIR>          .
09/07/2017  04:08 PM    <DIR>          ..
09/07/2017  04:08 PM    <DIR>          DLLs
09/07/2017  04:08 PM    <DIR>          Doc
09/07/2017  04:08 PM    <DIR>          include
09/07/2017  04:14 PM    <DIR>          Lib
09/07/2017  04:08 PM    <DIR>          libs
12/17/2016  08:49 PM            38,591 LICENSE.txt
12/17/2016  08:34 PM           474,595 NEWS.txt
12/17/2016  08:44 PM            27,136 python.exe
12/17/2016  08:44 PM            27,648 pythonw.exe
12/03/2016  09:01 PM            56,938 README.txt
09/07/2017  04:08 PM    <DIR>          Scripts
09/07/2017  04:08 PM    <DIR>          tcl
09/07/2017  04:08 PM    <DIR>          Tools
12/17/2016  08:44 PM           111,104 w9xpopen.exe
               6 File(s)        736,012 bytes
              10 Dir(s)  19,453,014,016 bytes free


2. Go to script folder.


C:Python27>cd Scripts


C:Python27Scripts>dir
 Volume in drive C is Windows
 Volume Serial Number is 7A6A-22DB


 Directory of C:Python27Scripts


09/07/2017  04:08 PM    <DIR>          .
09/07/2017  04:08 PM    <DIR>          ..
09/07/2017  04:08 PM            89,449 easy_install-2.7.exe
09/07/2017  04:08 PM            89,449 easy_install.exe
09/07/2017  04:08 PM            89,421 pip.exe
09/07/2017  04:08 PM            89,421 pip2.7.exe
09/07/2017  04:08 PM            89,421 pip2.exe
               5 File(s)        447,161 bytes
               2 Dir(s)  19,453,014,016 bytes free


3. Install Paramiko


C:Python27Scripts>pip install paramiko
Collecting paramiko
  Using cached paramiko-2.2.1-py2.py3-none-any.whl
Collecting bcrypt>=3.1.3 (from paramiko)
  Downloading bcrypt-3.1.3-cp27-cp27m-win32.whl
Collecting cryptography>=1.1 (from paramiko)
  Downloading cryptography-2.0.3-cp27-cp27m-win32.whl (1.1MB)
    100% |################################| 1.1MB 36kB/s
Collecting pyasn1>=0.1.7 (from paramiko)
  Downloading pyasn1-0.3.4-py2.py3-none-any.whl (63kB)
    100% |################################| 71kB 26kB/s
Collecting pynacl>=1.0.1 (from paramiko)
  Downloading PyNaCl-1.1.2-cp27-cp27m-win32.whl (138kB)
    100% |################################| 143kB 30kB/s
Collecting six>=1.4.1 (from bcrypt>=3.1.3->paramiko)
  Using cached six-1.10.0-py2.py3-none-any.whl
Collecting cffi>=1.1 (from bcrypt>=3.1.3->paramiko)
  Downloading cffi-1.10.0-cp27-cp27m-win32.whl (147kB)
    100% |################################| 153kB 25kB/s
Collecting ipaddress (from cryptography>=1.1->paramiko)
  Downloading ipaddress-1.0.18-py2-none-any.whl
Collecting asn1crypto>=0.21.0 (from cryptography>=1.1->paramiko)
  Using cached asn1crypto-0.22.0-py2.py3-none-any.whl
Collecting enum34 (from cryptography>=1.1->paramiko)
  Downloading enum34-1.1.6-py2-none-any.whl
Collecting idna>=2.1 (from cryptography>=1.1->paramiko)
  Downloading idna-2.6-py2.py3-none-any.whl (56kB)
    100% |################################| 61kB 38kB/s
Collecting pycparser (from cffi>=1.1->bcrypt>=3.1.3->paramiko)
  Downloading pycparser-2.18.tar.gz (245kB)
    100% |################################| 256kB 42kB/s
Installing collected packages: six, pycparser, cffi, bcrypt, ipaddress, asn1cryp
to, enum34, idna, cryptography, pyasn1, pynacl, paramiko
  Running setup.py install for pycparser … done
Successfully installed asn1crypto-0.22.0 bcrypt-3.1.3 cffi-1.10.0 cryptography-2
.0.3 enum34-1.1.6 idna-2.6 ipaddress-1.0.18 paramiko-2.2.1 pyasn1-0.3.4 pycparse
r-2.18 pynacl-1.1.2 six-1.10.0


4. Import Paramiko in the common shell


>>> run import paramiko


>>> import paramiko
>>> import time