程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Command Python setup.py egg_info failed with error code 1 in /tmp/pip build-* solution

編輯:Python

I have found many blogs to read this question , It's not clear. , What upgrade pip wait , Neither. , In fact, the solution is to uninstall first pip, Then install the installation package .
Reference resources Blog I think it's well written .
Uninstall files directly :

sudo apt-get remove python-pip

Then go to the official website https://pypi.python.org/pypi/pip download 20.* Just the version
Such as pip-20.3.3.tar.gz Format
Unzip in the downloaded folder :

sudo tar -zxvf pip-xxxxxx.tar.gz # Change to the name of the file you downloaded 

next , In the folder you extracted , Right click to open the terminal directly , Input :

//python2 install pip
$ sudo python setup.py install

  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved