Info Sharing Blog

Monday, September 24, 2018

How to Install Netmiko on Windows?

September 24, 2018 Posted by jaacostan , ,
Netmiko, developed by kirk Byers is an open source python library  based on Paramiko which simplifies SSH management to network devices and is primarily used for network automation tasks.
Installing Netmiko in linux is a matter of one single command but if you need to use Netmiko in your Windows PC, follow this process.
1) Install the latest version of Python.
2) Install Anaconda, which is an opensource distribution platform that you can install in Windows and other OS's (https://www.anaconda.com/download/)
3) From the Anaconda Shell, run “conda install paramiko”.

4) From the Anaconda Shell, run “pip install scp”.
5) Now Install the Git for Windows.(https://www.git-scm.com/downloads).
Git is required for downloading and cloning all the Netmiko library files from Github.
6) From Git Bash window, Clone Netmiko using the following command
git clone https://github.com/ktbyers/netmiko&#8221

       
7) Once the installation is completed, change the directory to Netmiko using cd netmiko command.
8) execute python setup.py install from Git Bash Window. Once the installation is completed, go to your Windows Command prompt or Anaconda shell and check Netmiko from Python Interpreter shell.
9) Finally import paramiko and import netmiko, and start using it for python coding.