I installed "python-paramiko" and "python-pycrypto" on Red Hat linux. But still, when I run the sample program, I get "ImportError: There is no module named paramiko".
I checked the installed packages using the command below and received a confirmation.
ncmdvstk:~/pdem $ rpm -qa | grep python-p python-paramiko-1.7.6-1.el3.rf python-pycrypto-2.3-1.el3.pp
My sample program that gives an import error:
import paramiko ssh = paramiko.SSHClient() ssh.set_missing_host_key_policy( paramiko.AutoAddPolicy()) ssh.connect('127.0.0.1', username='admin', password='admin')
source share