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"
  6. cd into the netmiko directory and run "python install".
Done! Screen scrape away, and don't forget to hound your vendors for real APIs... :-)


Anonymous said...

Just what I needed; Thank you.

Koroush said...

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...

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|

Riz said...

I installed Netmiko, but i get attached error when I try to import it in Python 2.7

Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:40:30) [MSC v.1500 64 bit (
AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import netmiko
Traceback (most recent call last):
File "", line 1, in
File "build\\egg\netmiko\", line 8, in
File "build\\egg\netmiko\", line 4, in
File "build\\egg\netmiko\a10\", line 2, in
File "build\\egg\netmiko\a10\", line 4, in
File "build\\egg\netmiko\", line 3, in

File "build\\egg\netmiko\", line 13, in
File "build\\egg\paramiko\", line 22, in
File "build\\egg\paramiko\", line 33, in
ImportError: No module named cryptography.hazmat.backends

Sadiya Moshin said...

python training in bangalore

eu4 console commands said...

I do have perhaps a stupid question since I am a scripter not a programer. I am receiving an error message...
error: Unable to find vcvarsall.bat
I have done a search and cannot find this file either. I was researching some things and came up with a bunch of info about compiling visual studio. I think? Perhaps you can shed some light on this.

Mounika Karoshi said...

python training in bangalore
python online training

Sadiya Moshin said...

Nice it's really helpfull
python training in bangalore
python online training

Gokul Ravi said...

very nice interview questions
vlsi interview questions
extjs interview questions
laravel interview questions
sap bi/bw interview questions
pcb interview questions
unix shell scripting interview questions

Gokul Ravi said...

really awesome blog
hr interview questions
hibernate interview questions
selenium interview questions
c interview questions
c++ interview questions
linux interview questions

Gokul Ravi said...

thanks for sharing this blog
spring mvc interview questions
machine learning online training
servlet interview questions
wcf interview questions

Amar G said...

Thank you for sharing this type of interview questions
Iot Online Training
Itil Interview Questions
Salesforce Interview Questions
Msbi Interview questions
Salesforce Interview Questions
C Interview Questions