RUCKUS Community Forums are now in READ-ONLY mode while we migrate to a new platform.
You will still be able to read posts and knowledge articles, but will be unable to post new content until Go Live on the new platform Monday August 17.
Lennar Smart Home customers: please contact [email protected] for assistance during the week of August 9-17.
09-21-2023 07:42 PM
Below is the step-by-step procedure to install python in windows machine and to import paramiko, netmiko packages to python.
Step 1:
Install python on your PC. You can download the latest python software from the below link
https://www.python.org/downloads/windows/
Step 2:
Step 3:
Open new windows command prompt
python -m pip install [packagename]
In some windows versions the below commands work
Pip install paramiko
Step 4:
Go to Python 3.10, Import paramiko, netmiko modules
Step 5:
Check in scripts if you have netmiko module installed
C:\Users\va1046\Documents\Python\software\Python-3.10.10\Scripts
Step 6:
The system is ready to use netmiko packages on python. You can import connecthandler from netmiko in python code to ssh into devices.
from netmiko import ConnectHandler
# create a dictionary with the connection details
devices = {
"device_type": "ruckus_fastiron",
"ip": "10.177.95.107",
"username": "super",
"password": "pass",
}
