Python module ecdsa errors while running paramiko

Viewed 6446

I am trying to install paramiko module..it fails with the below error

python ./test.py 
Traceback (most recent call last):
  File "./test.py", line 30, in <module>
    import paramiko
  File "/tmp/build-paramiko/paramiko-1.12.0/paramiko/__init__.py", line 64, in <module>
    from transport import SecurityOptions, Transport
  File "/tmp/build-paramiko/paramiko-1.12.0/paramiko/transport.py", line 45, in <module>
    from paramiko.ecdsakey import ECDSAKey
  File "/tmp/build-paramiko/paramiko-1.12.0/paramiko/ecdsakey.py", line 24, in <module>
    from ecdsa import SigningKey, VerifyingKey, der, curves
ImportError: No module named ecdsa

Any suggestions on how to proceed with the paramiko installation ?

3 Answers

this:

    from ecdsa import SigningKey, VerifyingKey, der, curves
ImportError: No module named ecdsa

suggests that the python-ecdsa package is missing, you can install it with

pip install ecdsa

Though in general, you shouldn't need to install paramiko from sources. You can install it with

pip install paramiko

that has the benefit of automatically resolving the dependencies of a package

Related