Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-*解决办法

一、概述

我在使用pip3 install paramiko 的时候,出现了报错

复制代码
复制代码
...
        raise DistutilsError("Setup script exited with %s" % (v.args[0],))
    distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-23ykqx51/pynacl/
复制代码
复制代码

 

百度了好久也试了前人的很多方法,最后终于找到了答案。

pip3 install --upgrade pip

然后再执行pip3 install paramiko,然没有报错安装成功了 。

 

 

本文参考链接:

https://blog.csdn.net/u011324454/article/details/79076885

posted @   Oops!#  阅读(3581)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
历史上的今天:
2020-01-05 Monit:开源服务器监控工具
2019-01-05 jenkins shell脚本自动化构建阿里云k8s上应用
点击右上角即可分享
微信分享提示