Python pip替換爲阿里源

背景 因爲 python 自帶的源下載速度很是慢,特別是安裝一些庫的時候,甚至有時會失敗。python 替換 首先在 windows 當前用戶家的目錄下,建立一個 pip 文件夾,而後建立一個pip.ini文件,修改文件內容爲以下;web [global] index-url = http://mirrors.aliyun.com/pypi/simple/ [install] trusted
相關文章
相關標籤/搜索