paramiko安装报错ImportError: No module named cryptography.hazmat.backends

命令行安装cryptography即可:

pip install  cryptography

若遇到SSLError: ('The read operation timed out',)等问题,重新执行上面的命令语句即可。

若出现Requirement already satisfied (use --upgrade to upgrade): cryptography in c:\python27\lib\site-packages问题,则执行如下语句即可:

pip install cryptography --upgrade

  • 4
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
This error message usually means that the Paramiko module is not installed on your system or is not available in the Python environment you are using. Paramiko is a third-party module that provides an implementation of the SSH protocol in Python, allowing you to create secure connections and automate remote tasks. To resolve this issue, you can try the following steps: 1. Check that Paramiko is installed: You can check whether Paramiko is installed by running the following command in your terminal or command prompt: ``` pip show paramiko ``` If Paramiko is installed, you should see information about the module, such as version number and location. 2. Install Paramiko: If Paramiko is not installed, you can install it using pip, the Python package manager. Run the following command in your terminal or command prompt: ``` pip install paramiko ``` This will download and install the latest version of Paramiko from the Python Package Index (PyPI). 3. Check your Python environment: If you have multiple Python environments installed on your system, make sure you are using the correct one that has Paramiko installed. You can check the Python version and location by running the following command: ``` python --version ``` This will display the Python version number. You can also check the location of the Python executable by running: ``` which python ``` This will display the path to the Python executable. Make sure that the Python environment you are using has Paramiko installed. If you are still having issues with the ImportError, you may need to consult the documentation for your specific Python environment or reach out to the Paramiko community for further assistance.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值