在 Python 中安装 Paramiko 时出现 Bcrypt 错误

问题描述

我正在尝试使用代码 pip install paramiko 安装 paramiko。它给出了以下与 bcrypt 相关的错误

creating build\temp.win-amd64-3.6
  creating build\temp.win-amd64-3.6\Release
  building '_bcrypt' extension
  error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
  ----------------------------------------
  ERROR: Failed building wheel for bcrypt
ERROR: Could not build wheels for bcrypt which use PEP 517 and cannot be installed directly

也尝试下载 C++ 工具,但错误仍然出现,我无法安装 paramiko。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)