OK. I read installing paramiko on Windows.
All mentioned methods simply do not work.
Authors have different environments with different components/libraries installed. Or may be they don't test their solutions before posting an answer :)
I removed all python versions and libs from my machine (Windows 8 x64) and tried to install python and paramiko from scratch.
Method number 1 (FAILED)
- Install python-2.7.3.amd64.msi
- Install pycrypto-2.6.win-amd64-py2.7.exe
- Download https://github.com/paramiko/paramiko/archive/master.zip, unpack it.
- Run setup.py install
- Go to IDLE, run import paramiko.
Result:
Traceback (most recent call last): File "<pyshell#0>", line 1, in
<module>
import paramiko File "C:\Python27\lib\site-packages\paramiko\__init__.py", line 65, in
<module>
from transport import SecurityOptions, Transport File "C:\Python27\lib\site-packages\paramiko\transport.py", line 45, in
<module>
from paramiko.ecdsakey import ECDSAKey File "C:\Python27\lib\site-packages\paramiko\ecdsakey.py", line 24, in
<module>
from ecdsa import SigningKey, VerifyingKey, der, curves ImportError: No module named ecdsa
Method number 2 (FAILED)
- Install python-2.7.3.amd64.msi
- Install setuptools-1.4.2.win-amd64-py2.7.exe
- Install pip-1.4.1.win-amd64-py2.7.exe
- pip install paramiko
- Go to IDLE, run import paramiko.
Result:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import paramiko
File "C:\Python27\lib\site-packages\paramiko\__init__.py", line 64, in <module>
from transport import SecurityOptions, Transport
File "C:\Python27\lib\site-packages\paramiko\transport.py", line 33, in <module>
from paramiko import util
File "C:\Python27\lib\site-packages\paramiko\util.py", line 33, in <module>
from paramiko.common import *
File "C:\Python27\lib\site-packages\paramiko\common.py", line 98, in <module>
from Crypto import Random
ImportError: No module named Crypto
Method number 3 (SUCCESS)
- Install python-2.7.3.amd64.msi
- Install pycrypto-2.6.win-amd64-py2.7.exe
- Install setuptools-1.4.2.win-amd64-py2.7.exe
- Install pip-1.4.1.win-amd64-py2.7.exe
- Run pip install ecdsa
- Download and extract https://github.com/paramiko/paramiko/archive/master.zip
- Run setup.py install
- Open IDLE, run import paramiko
Result: no errors
Please, help me to find step-by-step algorithm for installing python and paramiko on clean windows 8 machine. Thanx.
UPD: Solution has been found.
You're missing the
pycrypto
dependency.pip
is the easiest way:Alternatively, you can install from source, with:
(See: https://github.com/paramiko/paramiko)