當網速很差時,pip安裝到中途總是出現一大片紅色然后失敗。而且往往安裝下載很久,失敗了就要從新開始,失敗如下
就是,當你出現這個錯誤Could not find a version that satisfies the requirement pymongo(from version:),這時候使用鏡像源來加速
就是在原本的式子后面加一個鏡像源網站,如
原來:
pip install mxnet
改后:
pip install mxnet -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
這樣就安裝成功啦。