下載鏡像源


清華大學下載鏡像源

  • 阿里雲 http://mirrors.aliyun.com/pypi/simple/
  • 中國科技大學 https://pypi.mirrors.ustc.edu.cn/simple/ 
  • 豆瓣(douban) http://pypi.douban.com/simple/ 
  • 清華大學 https://pypi.tuna.tsinghua.edu.cn/simple/
  • 中國科學技術大學 http://pypi.mirrors.ustc.edu.cn/simple/
    • 可以在使用pip的時候加參數-i https://pypi.tuna.tsinghua.edu.cn/simple   ,這樣就會從清華這邊的鏡像去安裝gevent庫。
      •     例如:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple gevent
    • 或者直接加在后面
      •     例如:pip3 install matplotlib https://pypi.tuna.tsinghua.edu.cn/simple

pip install 碰到的錯誤==》[WinError 10061] 由於目標計算機積極拒絕,無法連接。

解決方法

按Win+R快捷鍵,輸入regedit,打開注冊表編輯器
找到HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet Settings分支,把它下面以 Proxy 打頭的鍵值對(如ProxyEnable,ProxyOverride,ProxyServer等)全部刪除

 
 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM