pip3 install paramiko 安装失败

这篇具有很好参考价值的文章主要介绍了pip3 install paramiko 安装失败。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

running build_ext
generating cffi module ‘build/temp.linux-x86_64-cpython-37/cryptography.hazmat.bindings._openssl.c’
creating build/temp.linux-x86_64-cpython-37
running build_rust

  =============================DEBUG ASSISTANCE=============================
  If you are seeing a compilation error please try the following steps to
  successfully install cryptography:
  1) Upgrade to the latest pip and try again. This will fix errors for most
     users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
  2) Read https://cryptography.io/en/latest/installation/ for specific
     instructions for your platform.
  3) Check our frequently asked questions for more information:
     https://cryptography.io/en/latest/faq/
  4) Ensure you have a recent Rust toolchain installed:
     https://cryptography.io/en/latest/installation/#rust

  Python: 3.7.3
  platform: Linux-5.10.50-amd64-desktop-x86_64-with-Deepin-20.2.3-apricot
  pip: 18.1
  setuptools: 67.3.1
  setuptools_rust: 1.5.2
  rustc: n/a
  =============================DEBUG ASSISTANCE=============================

error: can’t find Rust compiler

If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

To update pip, run:

  pip install --upgrade pip

and then retry package installation.

If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.

This package requires Rust >=1.48.0.


Failed building wheel for cryptography
Running setup.py clean for cryptography
Complete output from command /usr/bin/python3 -u -c “import setuptools, tokenize;file=‘/tmp/pip-install-byps3gsr/cryptography/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” clean --all:
running clean
removing ‘build/temp.linux-x86_64-cpython-37’ (and everything under it)
removing ‘build/lib.linux-x86_64-cpython-37’ (and everything under it)
‘build/bdist.linux-x86_64’ does not exist – can’t clean it
‘build/scripts-3.7’ does not exist – can’t clean it
removing ‘build’
running clean_rust

  =============================DEBUG ASSISTANCE=============================
  If you are seeing a compilation error please try the following steps to
  successfully install cryptography:
  1) Upgrade to the latest pip and try again. This will fix errors for most
     users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
  2) Read https://cryptography.io/en/latest/installation/ for specific
     instructions for your platform.
  3) Check our frequently asked questions for more information:
     https://cryptography.io/en/latest/faq/
  4) Ensure you have a recent Rust toolchain installed:
     https://cryptography.io/en/latest/installation/#rust

  Python: 3.7.3
  platform: Linux-5.10.50-amd64-desktop-x86_64-with-Deepin-20.2.3-apricot
  pip: 18.1
  setuptools: 67.3.1
  setuptools_rust: 1.5.2
  rustc: n/a
  =============================DEBUG ASSISTANCE=============================

error: can’t find Rust compiler

If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

To update pip, run:

  pip install --upgrade pip

and then retry package installation.

If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.

This package requires Rust >=1.48.0.


Failed cleaning build dir for cryptography
Running setup.py bdist_wheel for pynacl … \

Failed building wheel for bcrypt
Running setup.py clean for bcrypt
Complete output from command /usr/bin/python3 -u -c “import setuptools, tokenize;file=‘/tmp/pip-install-qy2myi1b/bcrypt/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” clean --all:
running clean
removing ‘build/lib.linux-x86_64-cpython-37’ (and everything under it)
‘build/bdist.linux-x86_64’ does not exist – can’t clean it
‘build/scripts-3.7’ does not exist – can’t clean it
removing ‘build’
running clean_rust

  =============================DEBUG ASSISTANCE=============================
  If you are seeing a compilation error please try the following steps to
  successfully install bcrypt:
  1) Upgrade to the latest pip and try again. This will fix errors for most
     users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
  2) Ensure you have a recent Rust toolchain installed. bcrypt requires
     rustc >= 1.56.0.

  Python: 3.7.3
  platform: Linux-5.10.50-amd64-desktop-x86_64-with-Deepin-20.2.3-apricot
  pip: 18.1
  setuptools: 67.3.1
  setuptools_rust: 1.5.2
  rustc: n/a
  =============================DEBUG ASSISTANCE=============================

error: can’t find Rust compiler

If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

To update pip, run:

  pip install --upgrade pip

and then retry package installation.

If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.

This package requires Rust >=1.56.0.


Failed cleaning build dir for bcrypt
Running setup.py bdist_wheel for pynacl …

pip3 原来安装版本是:

pip3 -V
pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)

原因是版本较低
升级pip3版本:

python3 -m pip install --upgrade pip

Collecting pip
Downloading https://files.pythonhosted.org/packages/ab/43/508c403c38eeaa5fc86516eb13bb470ce77601b6d2bbcdb16e26328d0a15/pip-23.0-py3-none-any.whl (2.1MB)
100% |████████████████████████████████| 2.1MB 455kB/s
Installing collected packages: pip
Successfully installed pip-23.0

然后执行:pip3 install paramiko 完成文章来源地址https://www.toymoban.com/news/detail-454770.html

到了这里,关于pip3 install paramiko 安装失败的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • [Linux] CentOS7 中 pip3 install 可能出现的 ssl 问题

    由于解决问题之后, 才写的博客, 所以没有图片记录. 尽量描述清楚一些 今天写代码的时候, 突然发现 文件里用了 #define 定义宏之后, coc.nvim 的 coc-clangd 补全就用不了 :checkhealth 了一下, 发现 nvim 忘记支持 python3 了 尝试 pip3 install neovim 的时候, 发现会警告然后安装失败. 截图就没

    2024年02月16日
    浏览(40)
  • 【问题记录】pip install -r requirements.txt 安装失败

    一般在使用 pip 安装 python 相关的包的时候,可能会由于网络问题失败 可以采用国内镜像进行下载安装,复制下面代码重新进行下载安装: 安装成功:

    2024年02月15日
    浏览(35)
  • macos pip3 install pycryptodome导入from Crypto.Cipher import AES报错

    问题:         已经使用pip3 install pycryptodome安装成功了,但是导入from Crypto.Cipher import AES还是提示Unresolved reference \\\'Crypto\\\' 原因:         一句话:安装文件大小写问题(这只是我遇到的一种情况)。 修改:         先使用命令: pip3 show pycryptodome,查看安装包的位置

    2024年01月24日
    浏览(36)
  • Python + selenium 安装问题,pip install selenium失败及解决方法

              最近想要是使用Python 访问下浏览器,网上关于这些东西都很多,Python 安装和 selenium 的下载就不赘述,这里简单总结一下第一次安装Python + selenium中遇到的问题。     Python傻瓜式安装,但注意 安装目录选择 , 环境变量的添加 。     selenium.exe下载对应浏览器对应

    2024年02月11日
    浏览(45)
  • 更新kali后pip3 install -r requirements.txt 提示error: externally-managed-environment

    当时找了很多方法都没有,按照它这个提示搞也不行 最后重新更新一下就好了 个人经验,写出来希望提供一个思路而已 我的问题:更新kali时,可能网络原因,没有更新完全 解决方法:重新更新 我当时用了以下两条命令: apt update (根据update命令获取最新的软件包列表,但

    2024年02月12日
    浏览(27)
  • 运行Dockerfile报错:ERROR: failed to solve: process “/bin/sh -c pip3 install flask“

    运行Dockerfile时报错,Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by \\\'ConnectTimeoutError(urllib3.connection.VerifiedHTTPSConnection object at 0x7f22bcb635f8, \\\'Connection to pypi.python.org timed out. (connect timeout=15)\\\')\\\': /simple/flask/ 出现该报错是因为pip install flask时用的国外

    2024年02月16日
    浏览(47)
  • nuxt项目部署,npm run build 和npm run generate的区别

    每日鸡汤:每个你想要学习的瞬间都是未来的你向自己求救 非服务端渲染的项目,比如普通的vite + vue项目,我们在部署生产环境的时候,只需要两步  运行 npm run build  然后得到了一个 dist 文件夹 将这个dist文件夹部署到一个静态服务器上 一般来说这样就可以访问这个项目了

    2024年02月15日
    浏览(29)
  • MAC安装mysqlclient失败,× Getting requirements to build wheel did not run successfully.│ exit code: 1╰─

    问题: 在使用django项目安装mysqlclient时出现以下错误: 解决方案: 1、先去登录brew官网: macOS(或 Linux)缺失的软件包的管理器 — Homebrew 复制以下代码,到mac终端运行: /bin/bash -c \\\"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\\\" 安装好后根据提示运行一下两端

    2024年02月14日
    浏览(28)
  • pip3在Ubuntu下的安装、升级、卸载

    pip 常用命令 pip 官方文档 如何在 Ubuntu 20.04 上安装 Python Pip - 知乎 (zhihu.com) Installation pip下载地址 1.1 为 Python 3 安装 pip 方式一 方式二 1.2 为 Python 2 安装 pip 2.1 为 Python 3 安装 pip 2.2 为 Python 2 安装 pip 5.1 从PyPI安装 5.2 从github安装 5.3 从源码安装 5.4 从whl安装 镜像源 python pip 错误

    2024年01月24日
    浏览(30)
  • 通过yum安装python3.9和pip3

    你好! 要使用 yum 安装 Python 3.9 和 pip3,需要执行以下步骤: 首先,确保你的系统上已经安装了 yum。如果没有,请参考如何在 CentOS 上安装 yum。 然后,使用 yum 命令安装 Python 3.9。 接下来,使用 yum 命令安装 pip3。 最后,检查是否已成功安装 Python 3.9 和 pip3。 如果一切顺利,

    2024年02月11日
    浏览(43)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包