1. pip install 報錯如下所示
pip._vendor.urllib3.exceptions.ReadTimeoutError:
HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
2. 解決方案:
pip install -r requiremnet.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
制定某個庫與庫的版本的國內(nèi)源鏈接下載方式文章來源:http://www.zghlxwxcb.cn/news/detail-787943.html
pip --default-timeout=100 install tensorflow==2.0.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
網(wǎng)絡上解決方案也很多如下:沒有用文章來源地址http://www.zghlxwxcb.cn/news/detail-787943.html
pip --default-timeout=100 install gevent
到了這里,關(guān)于【conda】pip安裝報錯,網(wǎng)絡延時問題解決記錄(親測有效)的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!