安装软件时出现Command “python setup.py egg_info“ failed with error code 1 in /tmp的解决方案

2023-05-16

问题出现

pip3 install paramiko


 

Collecting paramiko
  Downloading https://pypi.doubanio.com/packages/be/6f/f0ec5f5fb00d270ebd80946be561795c67468473eb495222794cae285d40/paramiko-2.10.3-py2.py3-none-any.whl (211kB)
    100% |████████████████████████████████| 215kB 2.0MB/s
Collecting cryptography>=2.5 (from paramiko)
  Downloading https://pypi.doubanio.com/packages/10/a7/51953e73828deef2b58ba1604de9167843ee9cd4185d8aaffcb45dd1932d/cryptography-36.0.2.tar.gz (572kB)
    100% |████████████████████████████████| 573kB 792kB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-wipy0cd6/cryptography/setup.py", line 14, in <module>
        from setuptools_rust import RustExtension
    ModuleNotFoundError: No module named 'setuptools_rust'

            =============================DEBUG ASSISTANCE==========================
            If you are seeing an error here please try the following to
            successfully install cryptography:

            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
            =============================DEBUG ASSISTANCE==========================


    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-wipy0cd6/cryptography/

 

解决方案

1、 sudo python -m pip install --upgrade --force pip

2、sudo pip install setuptools==33.1.1

 3、解决后展示再次安装成功

pip3 install paramiko
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.doubanio.com/simple
Collecting paramiko
  Downloading https://pypi.doubanio.com/packages/be/6f/f0ec5f5fb00d270ebd80946be561795c67468473eb495222794cae285d40/paramiko-2.10.3-py2.py3-none-any.whl (211 kB)
     |████████████████████████████████| 211 kB 1.9 MB/s
Collecting pynacl>=1.0.1
  Downloading https://pypi.doubanio.com/packages/ee/87/f1bb6a595f14a327e8285b9eb54d41fef76c585a0edef0a45f6fc95de125/PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)
     |████████████████████████████████| 856 kB 1.9 MB/s
Collecting cryptography>=2.5
  Downloading https://pypi.doubanio.com/packages/01/86/4379b5eaafa5ea4b0081fa65a72849d6bba98e35c1da66f4b7a86878714d/cryptography-36.0.2-cp36-abi3-manylinux_2_24_x86_64.whl (3.6 MB)
     |████████████████████████████████| 3.6 MB 560 kB/s
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from paramiko) (1.11.0)
Collecting bcrypt>=3.1.3
  Downloading https://pypi.doubanio.com/packages/c0/75/323f3e9e051726cef8a1d71d340a208ed5fe9dbdebc13b83428355c1382e/bcrypt-3.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (61 kB)
     |████████████████████████████████| 61 kB 360 kB/s
Collecting cffi>=1.1
  Downloading https://pypi.doubanio.com/packages/49/7b/449daf9cacfd7355cea1b4106d2be614315c29ac16567e01756167f6daab/cffi-1.15.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (405 kB)
     |████████████████████████████████| 405 kB 431 kB/s
Collecting pycparser
  Downloading https://pypi.doubanio.com/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl (118 kB)
     |████████████████████████████████| 118 kB 325 kB/s
Installing collected packages: pycparser, cffi, pynacl, cryptography, bcrypt, paramiko
Successfully installed bcrypt-3.2.0 cffi-1.15.0 cryptography-36.0.2 paramiko-2.10.3 pycparser-2.21 pynacl-1.5.0

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

安装软件时出现Command “python setup.py egg_info“ failed with error code 1 in /tmp的解决方案 的相关文章

  • 单片机能运行操作系统吗?

    先直接上答案 xff1a 可以 xff01 但是操作系统不是刚需 xff0c 上操作系统比较占用单片机的资源 xff0c 比如占用比较多的FLASH和RAM xff0c 间接增加了硬件成本 xff0c 哪怕成本增加1毛钱 xff0c 对于上
  • stm32 单片机主要优点有哪些?

    STM32我用了近10年了 xff0c 用它做过的项目至少也有10几个 可以说是我用过单片机里 xff0c 最省心最好用的 xff0c 不会有乱七八糟的问题 我感觉STM32这几年这么热门 xff0c 开发板至少占了一半功劳 不过 xff0
  • 初学stm32单片机可以做什么简单的小作品?

    已从事单片机开发十几年 xff0c 刚开始接触单片机时 xff0c 感觉挺有意思 可以用自己的思维写程序 xff0c 控制硬件去实现一些智能化的操作 刚点亮第一个LED xff0c 就开始幻想以后能做任何自己想要的产品 xff0c 那感觉多
  • 微机原理,有啥书籍推荐?

    我从事了单片机开发十几年 xff0c 很惭愧 xff0c 没有完整看完一本技术书籍 刚入行那会 xff0c 看过模电 xff0c 给我的感觉就是 xff0c 这书不是给新手看的 xff0c 是给专家看的 xff0c 果断放弃 后面又看了一些
  • public/private/protected的具体区别

    1 public xff1a public表明该数据成员 成员函数是对所有用户开放的 xff0c 所有用户都可以直接进行调用 2 private xff1a private表示私有 xff0c 私有的意思就是除了class自己之外 xff0
  • 单片机中有FLASH为啥还需要EEROM?

    这是一片真正为 终结懵逼 而生的回答 看完如果还不懂 xff0c 那就多看几遍 以前我做项目 xff0c 有时用Flash xff0c 有时用EEPROM xff0c 搞得我有点懵逼 然后在网上搜了一些资料 xff0c 看完以后还是不能理解
  • 嵌入式软件去哪个公司好?

    从事嵌入式单片机开发十几年 xff0c 碰到坑逼公司无数 这篇文章不会直接给你说什么公司好 xff0c 而是根据我的惨痛经历 xff0c 聊聊什么公司值得去 很多人说去越大的公司越好 xff0c 在大公司里 xff0c 你如同蝼蚁 xff0
  • 该不该放弃嵌入式,单片机这条路?

    本文几乎浓缩了我从业10几年的精华 xff0c 内容 涵盖我转行 打工 创业的经历 建议从头到尾不要错过一字一句 xff0c 因为字里行间的经验之谈 xff0c 或许能成为你人生重要转折点 全文 3700 多字 xff0c 写了 6 个多小
  • 集成学习(Ensemble Learning)

    集成学习Ensemble Learning Ensemble LearningDefinitionCommon types of ensemblesBootstrap aggregating Bagging BoostingStacking
  • 入住CSDN第一天

    对CSDN的个人看法 缺点 其实我对CSDN不感冒 xff0c 因为多年来一直在 简述 上面编写自己的博客 xff0c hexo 搭建个人博客 我对哪些必须扫码注册登录才能看复制 xff0c 必须花钱充钱才能下载资源的平台表示不喜欢 CSD
  • 前端技术文档

    前端技术大纲 首先声明需要CSS xff0c html xff0c xff08 js xff09 技术可不不用太深但是必须会一点 1 vue vueCDNvue Clivue routervue loadervue api 所有方法vue
  • 英雄手游版教程

    Android教程 百度搜索 ourplay 翻墙注册 Google 或者 拳头 或者 facebook 账号启动游戏 IOS教程 下载加速器个人推荐 迅雷 因为其他的都要收费搜索下载英雄联盟启动游戏
  • vue component

    component Vue component 39 todoItem 39 template 96 lt p gt 这是一个代办项 lt p gt 96 lt div gt lt todo ttem gt lt div gt 当vue实例
  • vue监听对象的用法

    watch监听对象 data return obj name 34 JackMe 34 watch 39 obj 39 handler newValue oldValue console log newValue name oldValue
  • VSCODE无法使用cnpm

    这里写自定义目录标题 简单暴力 简单暴力 1 xff0c 右击VSCode图标 xff0c 选择以管理员身份运行 xff1b 2 xff0c 在终端中执行get ExecutionPolicy xff0c 显示Restricted xff0
  • Win10环境下不同版本WinGW切换

    因需要 xff0c 安装了不同版本的WinGW gcc xff0c 实际使用中遇到一些问题 xff0c 解决过程记录如下 xff1a 在使用BusMaster时需要4 8 1版本 xff0c 原本系统默认9 2 0 xff0c busmas
  • 【无标题】

    这里写自定义目录标题 欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题 xff0c 有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中 居左 居右SmartyP
  • expo优势

    优点一 xff1a 一条命令生成apk或者ipa文件 xff0c 方便发布到应用商店 优点二 xff1a 代码publish xff0c 应用内热更新 优点三 xff1a 比react native多出不少实用原生组件 xff0c 比如一些
  • C++一些常见问题

    关于赋值的疑问 1 编译器为每个类默认重载了赋值操作符 xff1b 2 默认的赋值操作符仅完成了浅拷贝 xff1b 3 当需要进行深拷贝时必须重载赋值操作符 xff1b 4 赋值操作符与拷贝构造函数有相同的存在意义 实例分析 xff1a s
  • 树莓派学习(二):更换镜像源以及安装虚拟环境miniforge3

    树莓派学习 xff08 二 xff09 xff1a 更换镜像源以及安装pytorch 步骤一 xff1a 更换镜像源步骤二 xff1a 下载前的准备2 1 原来numpy库的卸载 步骤三 xff1a 安装miniforge3 步骤一 xff

随机推荐

  • 3.1 python版MapReduce基础实战

    输入文件在你每次点击评测的时候 xff0c 平台会为你创建 xff0c 无需你自己创建 xff0c 只需要启动HDFS xff0c 编写python代码即可 第1关 xff1a 成绩统计 mapper py usr bin python3
  • 怎么获取li里面的内容

    获取li的内容 span class token tag span class token tag span class token punctuation lt span ul span span class token punctuat
  • 偏移量的概念

    span class token selector span span class token punctuation span span class token property padding span span class token
  • js中的二级联动

    省份市级城市联动 span class token doctype lt DOCTYPE html gt span span class token tag span class token tag span class token pun
  • 页面跳转的几种方法

    location对象 href assgin跳转到另一个页面可以返回到原来的页面 location span class token punctuation span href span class token operator 61 sp
  • 学习JS基础部分一

    数据类型 分支结构 循环结构 数据类型 简单数据类默认值Number0BooleanfalseString Undefinedundefinednullnull 复杂数据类型默认值Array Object 分支结构 分支语句说明if 条件
  • 来,带你见识一下CT三维重建

    文 xff1a 北京协和医院放射科孙昊 来源 xff1a 从医开始 xff0c 协和八的奇妙临床笔记 相信各位同学在临床工作中 xff0c 已经接触到很多CT三维重建的图像了 xff0c 那么CT三维重建到底是个啥东东 xff1f 这个问题
  • 数组常用方法

    concat span class token keyword let span arr1 span class token operator 61 span span class token punctuation span span c
  • 深拷贝和浅拷贝

    浅拷贝和深拷贝的区别 浅拷贝是复制原数据的数据内容 xff0c 引用原数据的地址 xff1b 当改变复制之后的数据时 xff0c 原数据的数据内容也会被改变 xff0c 因为这是引用原来数据的地址 xff0c 改变的是原数据地址的数据内容
  • Set集合和Map集合

    Set集合 用于存放不重复的数据 xff0c 通过构造函数的形式 参数必须是一个可迭代对象 创建Set对象 span class token keyword const span s1 span class token operator 6
  • js树型结构处理

    span class token comment 获取树形结构并处理 span span class token comment 当child为null时处理 span span class token comment 如果是childre
  • 姿态旋转与坐标变换

    姿态旋转与坐标变换 旋转还是变换 xff1f 坐标旋转 变换矩阵 xff08 Rotation Matrix xff09 等效旋转矢量 xff08 Axis Angle xff09 罗德里格斯公式 xff08 Rodrigues 39 s
  • Gitlab

    Gitlab Gitlab介绍 我们了解了git是以个人为中心 xff0c 但是人人都得数据交互呀 python程序员每天都忙着进行py交易 交互数据的方式 使用github或者码云等公有代码仓库 xff0c 托管代码的地方 xff0c 谁
  • word论文排版和写作04:用MathType和word公式编辑器插入数学公式

    写在前面 插入公式在论文写作中是一个常见的操作 xff0c 本文作为补充 xff0c 主要介绍如何规范和方便地在word中插入公式 主要的方式有两种 xff0c 一种是使用MathType xff0c 一种是使用word自带的公式编辑器 关
  • Jetson Nano ros melodic+realsense+aruco

    一 realsense SDK和realsense ros安装 参考链接 xff1a Ubuntu18 04 43 ROS melodic 安装使用 RealSenseD435i Lynn mg的博客 CSDN博客 ubuntu18安装re
  • ROS同步订阅realsense的彩色图和深度图(python实现)

    首先要保证realsense ros功能包的正常使用 xff0c 具体安装使用如下 xff1a Jetson Nano ros melodic 43 realsense 43 aruco 杰杰 xff01 的博客 CSDN博客 1 创建订阅
  • 用opencv的aruco库生成二维码marker标记

    用opencv的aruco库生成二维码marker标记 代码来源于官方提供的完整的工作实例create marker cpp 在opencv源码中的位置为opencv contrib 4 4 0 modules aruco samples
  • 树莓派上手实战之SSH下配置VNC服务器实现远程桌面(可以实现开机自启动vncserver)

    VNC是linux下面常用的远程桌面 xff0c 用它可以在windows或者unix主机上方便的通过网络操作远程主机而不需要一个额外的显示器 xff0c 非常实用 这篇教程将会详细讲解安装配置VNC服务器开启远程桌面服务的全部过程 首先
  • minikube搭建kubernetes

    系统环境 deepin15 11 安装virtualbox虚拟机 xff1a 应用商店就有安装minikube aizhao 64 aizhao hellonode curl Lo minikube https storage google
  • 安装软件时出现Command “python setup.py egg_info“ failed with error code 1 in /tmp的解决方案

    问题出现 pip3 install paramiko Collecting paramiko Downloading https pypi doubanio com packages be 6f f0ec5f5fb00d270ebd8094