我正在尝试安装paramiko模块..它失败并出现以下错误

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

有关如何进行paramiko安装的任何建议?

最佳答案

从“https://github.com/warner/python-ecdsa”下载软件包并使用命令安装

python setup.py install

您的问题将得到解决。

关于运行paramiko时Python模块ecdsa错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/20525147/

10-14 18:00