What I found was that if you name your file "paramiko.py" you get this error, but I named my file something else and I still get the same error. I really have no idea what I did wrong, I'm fairly confident I installed PyCrypto and Paramiko successfully.
import paramiko
ssh = paramiko.SSHClient()
ssh.connect('127.0.0.1', username='meelo_rw', password='')
Running this on Windows 8.1.
pip install paramiko
into the command prompt it says Requirement already satisfied, which I think means it's installed correctly. – mdadurian Aug 20 '14 at 16:41paramiko.py
or there is another file named like that... just for a test, let's start fresh. Open a command prompt, open the interactive python interpreter (just typepython.exe
, and then try to import it and see ifdir(paramiko)
works. – user2629998 Aug 20 '14 at 16:43print paramiko.__file__
and see if its the one you think it is. If you had a paramiko.py, you may still have a paramiko.pyc lying around. – tdelaney Aug 20 '14 at 16:44import paramiko
itself? Yeah, look for an old paramiko.pyc. – tdelaney Aug 20 '14 at 16:45no module named ecdsa
– mdadurian Aug 20 '14 at 16:46