Command "python setup.py egg_info" failed with error code 1

发布时间:2020-04-17 09:13:35编辑:admin阅读(2239)

    一、概述

    我在使用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


关键字