[Solved] Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-*

1. Overview

When I use PIP3 install paramiko, an error is reported

        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/

Google has tried many methods of its predecessors for a long time, and finally found the answer.

pip3 install --upgrade pip

Then execute PIP3 install paramiko, but no error is reported, and the installation is successful.

Similar Posts: