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

Solve the problem of slow Python and pip install

編輯:Python

1、 find c disc –> user –>admin( Own computer name )
2、 Create... Under this folder pip Folder
3、 stay pip Created in txt, The content is edited as follows :
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host = pypi.tuna.tsinghua.edu.cn
4、 Rename the file :pip.ini
5、 Fix up the work .

notes : If the above operation does not work , Need to add one more step :
python -m pip install --upgrade pip

principle : Originally need to download from foreign websites , After changing this setting , Will download from Tsinghua mirror website .


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