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

Commandpython setup py egg_ Infofailed with error code

編輯:Python

I am installing a third-party library pygame Such problems arise in the process of , It may also be useful for the installation of other libraries , Use it if you need it .

This paper summarizes several situations and solutions of online search :

The following are the execution commands , Enter the execute command module
① Click on Windows+R appear
② Input cmd Click ok Enter the command window

③ Then enter the following command , At your discretion .

The solution is as follows :
1. Solution upgrade setup tool ( Probably pip No upgrade , Using the upgrade will automatically upgrade to the highest level of the system )
pip install --upgrade setuptools

2. upgrade pip Installation tools
python -m pip install --upgrade --force pip

pip3:

pip3 install --upgrade pip (pip3 Installation )

3. Some people say it's a version problem
pip install setuptools==33.1.1 Try upgrading

What I met was like this , The problem is solved in the second step , It is also possible to interrupt the download process , It may be the problem of network instability , You can try it several times or install it the next day .


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