1、使用鏡像安裝庫的方法——語法格式
語法格式:
pip install 庫名?-i 鏡像網(wǎng)址文章來源地址http://www.zghlxwxcb.cn/news/detail-735658.html
如使用豆瓣安裝requests庫:
pip install requests -i https://pypi.douban.com/simple
2、常用國內(nèi)鏡像
'''
豆瓣
https://pypi.douban.com/simple
清華大學(xué)
https://pypi.tuna.tsinghua.edu.cn/simple
中國科技大學(xué)
https://pypi.mirrors.ustc.edu.cn/simple
阿里云
https://mirrors.aliyun.com/pypi/simple
'''
文章來源:http://www.zghlxwxcb.cn/news/detail-735658.html
到了這里,關(guān)于python 安裝庫常用的國內(nèi)鏡像、使用鏡像安裝庫的方法的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!