• notice
  • Congratulations on the launch of the Sought Tech site

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

I. Overview

When I use pip3 install paramiko, I get an error

...
       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/

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

pip3 install --upgrade pip

Then execute pip3 install paramiko, but the installation was successful without error.

 

 


sudo pip install jupyterI got this error when I was using it Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-sr2_jA/distribute/. Baidu has tried many methods of predecessors for a long time. Finally stack overflow, I saw a code on the website and it worked wonders.


easy_install -U setuptools1

Then sudo pip install jupyterthere is no error in the execution, the installation is successful, and
pip can not completely replace easy_install, hahaha



Tags

Technical otaku

Sought technology together

Related Topic

0 Comments

Leave a Reply

+