pip3 install paramiko 安装失败

2023-05-16

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 完成

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

pip3 install paramiko 安装失败 的相关文章

  • Debian使用Kde,并以root用户登陆

    一 修改 etc sudoer的权限 xff0c 如果不修改权限会导致后面配置后登陆不了系统 xff0c 以及使用一些root命令出现 不知sudoers文件中 等问题 1 修改方法 xff1a vi etc sudoers 查找到Allo
  • java 17个IDEA最常用的快捷键 介绍及演示

    目录 一 前言 二 17个常用快捷键的演示 xff1a 1 撤销和反撤销 Ctrl 43 z 和 Ctrl 43 y 注意Ctrl 43 y 2 复制当前行 xff08 可多选 xff09 Ctrl 43 d 3 删除当前行 xff08 可
  • linux如何手动kill vnc端口并修改分辨率

    linux如何手动kill vnc端口并修改分辨率 一 正常的kill端口流程及修改分辨率流程 在新的端口上su 需要kill的vnc的用户名 xff0c 并正确输入密码 xff1b span class token variable su
  • Docker 解决容器时间与主机时间不一致的问题三种解决方案

    Docker容器时间与主机时间不一致 通过date命令查看时间 查看主机时间 root 64 localhost date 2016年 07月 27日 星期三 22 42 44 CST 查看容器时间 root 64 b43340ecf5ef
  • 项目管理:项目开发类型、模型、流程以及案例介绍

    前言 职能部门越卖力 xff0c 企业越像官僚 xff1f 赔钱的项目也要 xff0c 老板是不是疯了 xff1f 日报 xff0c 周报 xff0c 月报 然并卵 xff0c 项目照旧失控 xff0c 都是惹不起的 爷 xff0c 先招呼
  • Linux命令+shell脚本大全:用 aptitude 安装软件包

    免费教程推荐 xff1a python C 43 43 Java JS Rust Go语言入门完全手册 xff08 6合1 xff09 zip Python文档类资源 CSDN下载 了解了怎样在系统中列出软件包信息之后 xff0c 本节将带
  • Jetson 关闭Gnome桌面

    有时我们不需要桌面环境 xff0c 关掉桌面环境可以节约内存 sudo systemctl set default multi user target 启动时禁止桌面启动 sudo systemctl set default graphic
  • 神经网络_BP算法推导

    简单的 双层神经网络 只包含一个隐藏层和输出层 假设隐层和输出层的都使用sigmoid函数 定义需要的变量 正向传播计算 第h个隐层神经元的输入 第h个隐层神经元的输出 第j个输出层神经元的输入 第j个输出层神经元的输出 反向计算 BP算法
  • 黑苹果教程-DELL Inspiron 14R 3x37, 5x37, 7x37 hackintosh

    0x00简介 给pc安装黑苹果算是我很久的梦想了 xff0c 正好假期有几天不愿意干正事 xff0c 就又顺手搜了一下 xff0c 看了一些教程和资料 xff0c 加上各种大神的一些验证和文件 xff0c 终于算是把黑苹果啃下来了 简单说一
  • pip 提速方法和conda install命令,利用pip安装到conda 特定环境中

    1 pip 提速 在 pip install 包名 后面加上 i 43 镜像地址 xff0c 这样 pip 安装时即可成倍的提速了 后面的地址主要是国内的一些镜像地址 xff0c 速度会快一些 国内主要镜像地址如下 xff1a 清华 xff
  • Ubuntu:Terminal终端命令

    终端命令的基本形式 command options parameter1 parameter2 说明 xff1a 命令中第一个输入的部分绝对是 命令 xff08 command xff09 或 可执行文件 xff1b 按下 Enter 键则
  • 读取SIM卡号

    SIM 卡检测 1 at 43 ccid SIM 卡认证 43 CCID 34 89860092199936694421 34 2 at 43 cnum 读取本地ID 43 CNUM 34 80535A4E07FFFF 34 34 1392
  • 修改Mysql管理员密码(详细)

    Mysql修改管理员密码 你是否遇到mysql久了不登陆了 xff0c 就忘记密码的情况 xff0c 然后耗费不少时间瞎捉摸 那么今天 xff0c 来我这里一招教你解决问题 一 直接登录修改 xff1a 1 登录 mysql u root
  • Redis穿透、雪崩、击穿以及在生产环境中的解决办法

    Redis穿透 雪崩 击穿以及在生产中的解决办法 redis 经典八股文 xff0c 以及生产中的应对方式 一 缓存穿透 redis缓存和数据库中都没有相关数据的情况下 xff0c 由于redis中没有相关的数据 xff0c 无法拦截 xf
  • 地点主机号的最大值和最小值

    某单位分配到一个B类IP地址 xff0c 其网络号为129 250 0 0 该单位有4000台机器 xff0c 平均分布16个不同的地点 如选用子网掩码255 255 255 0 试给每一个地点分配一个子网号码 xff0c 并算出每个地点主
  • cas单点登录-自定义登录界面 / 自定义主题风格(三)

    cas单点登录 自定义登录界面 自定义主题风格 xff08 三 xff09 在前面的文章中 xff0c 介绍了使用cas实现SSO单点登录 xff0c 静态登录 xff0c 使用mysql数据库登录 但是在登录时都是跳转到了同一个登录界面
  • 切片地图服务器

    地图服务 收集了一些切片地图的URL xff0c 以后慢慢完善 天地图提供四种类型的地图 1 天地图地形 http t span class hljs list 0 7 span tianditu com DataServer T 61 t
  • Linux应用程序开发笔记:nanopi-m4(rk3399)opencv

    参考资料 xff1a OpenCV中文网站 OpenCV官网手册 图像处理 xff1a opencv的目标追踪方法总结 qt利用opencv3 4进行人脸识别和特征点提取 基于OpenCV下 多红外目标检测 跟踪 质心坐标提取 跟踪目标排序
  • samba服务免密码访问配置一

    A 安装前的准备工作 xff1a SELINUX 61 disabled 关闭防火墙 xff1a service iptables stop B 执行如下命令安装samba xff1a root 64 samba yum install s
  • androidmediacodec强制申请关键帧

    https github com AnyRTC anyRTC RTMP OpenSource issues 49 V H264Encoder RequestKeyFrame Android 6 0推送全是I 帧 或者全是P帧 急急急 49

随机推荐

  • C#的Convert 类使用

    C 的Convert 类使用 一 从基类型转换 二 Convert 类的常用方法说明 2 1 ChangeType Object Type 2 2 GetTypeCode Object 2 3 Convert ToByte 2 4 Conv
  • XTDrone简明安装教程

    XTDrone简明安装教程 XTDrone是基于PX4 ROS与Gazebo的无人机通用仿真平台 支持多旋翼飞行器 xff08 包含四轴和六轴 xff09 固定翼飞行器 复合翼飞行器 xff08 包含quadplane xff0c tail
  • 我的算法学习之路

    xfeff xfeff xfeff 关于 严格来说 xff0c 本文题目应该是我的数据结构和算法学习之路 xff0c 但这个写法实在太绕口 况且CS中的算法往往暗指数据结构和算法 xff08 例如算法导论指的实际上是数据结构和算法导论 xf
  • 个人面试经验分享

    九月 十月是收获的季节 xff0c 也是奔波的季节 我也不例外 xff0c 没有特殊的机遇 xff0c 也是经历了一次残酷的海选啊 xff0c 把我经历简单的分享给各位学弟学妹们 我数了一下大概面了六家公司 xff1a 阿里 xff0c 华
  • ImageField用法的一个例子

    本文以注册头像为例讲解一下ImageField怎么用 第1步我们要定义一个ImageField 在models py里面定义 这个是用来写到数据库里面的 def custom path instance filename ext 61 fi
  • ubuntu20.04配置远程连接sshd服务

    ubuntu20 04配置远程连接sshd服务 1 为什么要配置 xff1f 两种可能 xff1a 本机虚拟机上安装的系统 这种情况就是为了方便 xff0c 因为在虚拟机上只能操作不是很方便 xff01 远程机房的服务器 这种是必须的 xf
  • 使用adb从手机拉取apk包

    1 找到app对应的包名 xff1a 2 3 1 adb shell am monitor 2 启动需要获取包名的应用 3 窗口就会打印出来当前应用的包名 或者 xff1a 查看手机上所有app包名 xff1a adb shell pm l
  • 使用c++filt工具demangle C++符号

    demangle符号名 在调试C 43 43 程序时 经常会遇到未demangle的C 43 43 符号名 不了解mangle的规则时 并不太容易确定具体是哪个API 比如 使用objdump将boost日志动态库的符号表导出 你是否能够很
  • 我的2014

    不知不觉中2014已经离我们远去了 xff0c 回想起2014 xff0c 我经历了太多 xff0c 又不知从何说起 2013年年末我开通了CSDN博客 xff0c 所以我真正开始写博客是在2014年1月份 xff0c 在2014年中写博客
  • Zsh 入门(安装及使用)

    Zsh 入门 本文前提 CentOS 6 7 64 bitroot 用户 Zsh 介绍 Zsh 兼容 Bash xff0c 据传说 99 的 Bash 操作 和 Zsh 是相同的Zsh 官网 xff1a http www zsh org 先
  • 炼丹笔记二:数据清洗问题

    欢迎大家关注微信公众号 xff1a baihuaML xff0c 白话机器学习 码字不易 xff0c 未经授权禁止转载 xff0c 如转载 xff0c 请添加知乎好友 xff1a 会写代码的好厨师 xff0c 私信我 xff01 在这里 x
  • LayoutLM——文本与布局的预训练用于文档图像理解

    摘要 xff1a 预训练技术近年来在多种NPL任务中取得了广泛的成功 尽管广泛的NPL应用的预训练模型 xff0c 其大多聚焦于文本级别的操作 xff0c 而忽略了布局与风格信息 xff0c 这对文档图像的理解至关重要 该篇论文提出了Lay
  • 初识hash

    1 哈希表 哈希表 xff08 Hash Table xff09 是一种根据关键字直接访问内存存储位置的数据结构 通过哈希表 xff0c 数据元素的存放位置和数据元素的关键字之间建立起某种对应关系 xff0c 建立这种对应关系的函数称为哈希
  • 程序员们,AI来了,机会来了,危机也来了

    程序员们 xff0c AI来了 xff0c 机会来了 xff0c 危机也来了 1 人工智能真的来了 纵观古今 xff0c 很少有计算机技术能有较长的发展寿命 xff0c 大部分昙花一现 xff0c 比如 xff1a 昔日的DOS windo
  • 11.FreeRTOS学习笔记-内存管理

    几种内存分配算法的比较 heap 1 c 管理方案是 FreeRTOS 提供所有内存管理方案中最简单的一个 它只能申请内存而不能进行内存释放 并且申请内存的时间是一个常量 heap 2 c方案支持释放申请的内存 但是它不能把相邻的两个小的内
  • C#(Csharp)基础教程(上)(菜鸟教程笔记)

    C 及其开发环境简介 参考视频 c 教程 1 1 C 概述 C 是一个现代的 通用的 面向对象的编程语言 xff0c 它是由微软 xff08 Microsoft xff09 开发的 xff0c 由 Ecma 和 ISO 核准认可的 C 是由
  • Python 语法糖

    class person def init self func self f 61 func print 34 init 34 def call self args kwargs print 34 call 34 self f 第一种使用装
  • Makefile经典教程(掌握这些足够)

    makefile很重要 什么是makefile xff1f 或许很多Winodws的程序员都不知道这个东西 xff0c 因为那些Windows的IDE都为你做了这个工作 xff0c 但我觉得要作一个好的和professional的程序员 x
  • C语言 mkdir 创建多级目录

    通过例子来说明 xff1a 我要在当前目录下创建 head follow end 目录 C语言中mkdir原型为int mkdir const char pathname mode t mode mkdir 函数以mode方式创建一个以pa
  • pip3 install paramiko 安装失败

    running build ext generating cffi module build temp linux x86 64 cpython 37 cryptography hazmat bindings openssl c creat