pip一次无法安装 总是无法安装torch
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f3ffcede6f0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /whl/cu124/torch/
解决办法
sudo vim /etc/resolv.conf
nameserver 114.114.114.114
最后更新于 2024-10-09 10:33:20 并被添加「」标签,已有 136 位童鞋阅读过。
此处评论已关闭