最近下載一些第三方庫(kù),給我慢的要死蚪腋,查了下資料,有的是延長(zhǎng)時(shí)間姨蟋,但是并沒(méi)有解決速度慢的問(wèn)題屉凯,感覺(jué)還是這種方法好。
之前一直用pip安裝也沒(méi)這么慢啊
在這里插入圖片描述
這個(gè)時(shí)刻可能是在鍛煉我強(qiáng)大的內(nèi)心吧眼溶。
但鏡像的速度就很香呀悠砚,咋沒(méi)早點(diǎn)用鏡像網(wǎng)站!堂飞!
鏡像網(wǎng)站如下:
阿里云 http://mirrors.aliyun.com/pypi/simple/
中國(guó)科技大學(xué) https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban) http://pypi.douban.com/simple/
清華大學(xué) https://pypi.tuna.tsinghua.edu.cn/simple/
中國(guó)科學(xué)技術(shù)大學(xué) http://pypi.mirrors.ustc.edu.cn/simple/
用鏡像網(wǎng)站來(lái)下載灌旧,速度起飛~~~,使用下面的代碼即可
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ 包名
python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ --upgrade pip
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ opencv-python