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

你可能感兴趣的:(Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-*解决办法)