Connect to device without paramiko/netmiko modules - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Networking (https://python-forum.io/forum-12.html) +--- Thread: Connect to device without paramiko/netmiko modules (/thread-27363.html) |
Connect to device without paramiko/netmiko modules - kang18 - Jun-04-2020 Hi All, I am new to networking python programming. I am currently working with a Telcom company. We are working with multiple customers on a different domains. Can anyone help me provide an example python config on how to connect to a network device with the Paramiko/netmiko/Pexpect modules. As the built in python in our CMDS does not have the mentioned modules.. Can anyone help me and show me how to do it? RE: Connect to device without paramiko/netmiko modules - Larz60+ - Jun-04-2020 use pip to install modules. (All from command line) first you must have a minimum of python 3.3 installed, also packages: pyserial: pip install pyserial textfsm: pip install textfsm then: from command line: pip install paramiko netmiko: pip install netmiko some of these may already be installed, to find out, from command line, type: pip list and see if they are listed. RE: Connect to device without paramiko/netmiko modules - kang18 - Jun-05-2020 (Jun-04-2020, 04:35 PM)Larz60+ Wrote: use pip to install modules. (All from command line) Hi Larz60+ The modules are already installed in my machine. my problem is the module is not install in our company CMDS to where we perform the telnet/ssh to the device. RE: Connect to device without paramiko/netmiko modules - Larz60+ - Jun-05-2020 call your admin |