2024-09-01
Linux运维
00

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 0x7f5a8c2bc650>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/numpy/

This worked for me.

bash
sudo apt-get update sudo apt-get upgrade sudo apt install python3-pip

https://github.com/microsoft/WSL/issues/4020

如果对你有用的话,可以打赏哦
打赏
ali pay
wechat pay

本文作者:Dong

本文链接:

版权声明:本博客所有文章除特别声明外,均采用 CC BY-NC。本作品采用《知识共享署名-非商业性使用 4.0 国际许可协议》进行许可。您可以在非商业用途下自由转载和修改,但必须注明出处并提供原作者链接。 许可协议。转载请注明出处!