如何使用paramiko与python 3.6和Windows 10?

时间:2017-12-30 19:45:58

标签: python python-3.x ssh windows-10 paramiko

我正在尝试导入paramiko,所以我可以使用python程序从我的Windows 10机器ssh到机器。但是我收到了这个错误:

Traceback (most recent call last):
  File "population_script.py", line 5, in <module>
    import paramiko
  File "C:\Users\bnbih\Envs\crossover_env\lib\site-packages\paramiko\__init__.py", line 22, in <module>
    from paramiko.transport import SecurityOptions, Transport
  File "C:\Users\bnbih\Envs\crossover_env\lib\site-packages\paramiko\transport.py", line 57, in <module>
    from paramiko.ed25519key import Ed25519Key
  File "C:\Users\bnbih\Envs\crossover_env\lib\site-packages\paramiko\ed25519key.py", line 17, in <module>
    import bcrypt
  File "C:\Python27\Lib\site-packages\bcrypt\__init__.py", line 23, in <module>
    from bcrypt import _bcrypt
ImportError: DLL load failed: The specified module could not be found.

我尝试过:pip install bcryptpip install --upgrade bcrypt

0 个答案:

没有答案