Wednesday, July 15, 2015

Installing netmiko on Windows

Netmiko is a Python module by Kirk Byers that provides a wrapper around the Paramiko SSH module for doing screen scraping and CLI automation on network devices.

Paramiko has some dependencies that make installation on Windows a tad tricky. Here's a quick way to get it done:

  1. Install Anaconda.
  2. From the Anaconda shell, run "conda install paramiko".
  3. From the Anaconda shell, run "pip install scp".
  4. Install git for Windows.
  5. Clone netmiko with "git clone https://github.com/ktbyers/netmiko"
  6. cd into the netmiko directory and run "python setup.py install".
Done! Screen scrape away, and don't forget to hound your vendors for real APIs... :-)

9 comments:

Anonymous said...

Just what I needed; Thank you.

Koroush said...

Jay,
Appreciate your help.
I am able to import netmiko in IPython 2.7 & IPython Qtconsole 3.2

do my essay for me said...

Ok it is always good to know something new and this blog is very useful. Thank you for sharing it and keep posting such posts

Man with Van said...

this blog is related how Netmiko module of python can be installed listed with a easy procedure to follow.

Anonymous said...

Hello,
how to import netmiko in Python 3.6 running in Windows 10.
I have tried all the steps you mentionned but I am still getting this error : "ModuleNotFoundError: No module named 'netmiko' "

Anonymous said...

Don't know if you got it working or not but I just successfully installed netmiko per the instruction. Did you cd to netmiko folder?

Vladimir Orlov said...

had an issue where I had to install MS C++ tools (link to download provided while installation). After that - got error netmiko TypeError: 'Permission Error' object is not subscriptable and fixed it with command "python -m pip install netmiko" from command line

ananthi said...

this is very nice blog.python one of the programming language this is very useful in software development.thanks for giving this informtion.
Base SAS Training in chennai

rose said...

That is very interesting; you are a very skilled blogger. I have shared your website in my social networks! A very nice guide. I will definitely follow these tips. Thank you for sharing such detailed article.

python training in bangalore|