Tuesday, November 29, 2011

How to install paramiko on windows

Paramiko is a pre-requisite for SSHLibrary to work in windows.

Paramiko can be downloaded from (link: http://www.lag.net/paramiko/). Depending on the Python version you have please choose the build.
Paramiko need Pycrypto to be present in the machine. Windows installer is available (link: http://www.voidspace.org.uk/python/modules.shtml#pycrypto). This is an exe file which can directly installed int he target machine.

One Pycrypto is successfully installed, extract the paramiko build in to a folder.

Open command prompt, go to Paramiko root folder.
In the root folder you will find setup.py.

Execute the command :
# python  setup.py build
# python setup.py install

Import SSH Library in to the robot test case and enjoy.


Ebin John.