Search code examples
pythoncentos7netmiko

No module name netmiko on Centos


It is my first time to use netmiko module on Centos.

I kept get below message when I was using Python(2.7.5).

enter image description here

If I used Python(3.6.8), it will be this:

enter image description here

I have verified that I did install netmiko.

enter image description here


Solution

  • It probably might be an issue due to different python versions in your system. Perhaps you can install it by calling pip module of the particular python version.

    So, for python 3.x you can execute the following:

    python3 -m pip install netmiko
    

    Similarly, for python 2.x you can execute:

    python -m pip install netmiko