報(bào)錯(cuò)如下:Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/c0/8f/dfa473f3a6241bff91ae8bb90
5bd0afceb827f37de2917a94b5c4b1112bf/Pillow-9.3.0-cp39-cp39-win_amd64.whl (Caused by ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x00000259CB4C0760>, 'Con
nection to files.pythonhosted.org timed out. (connect timeout=15)'))
解決辦法:命令換成pip install torchvision -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
?文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-610227.html
親測(cè)有效?。。?img src="https://imgs.yssmx.com/Uploads/2023/07/610227-1.png" alt="error: could not install packages due to an oserror: httpsconnectionpool(hos,python" referrerpolicy="no-referrer" />
?文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-610227.html
?
到了這里,關(guān)于下載torchvision報(bào)錯(cuò):Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.python的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!