我的个人笔记本电脑上安装了Ubuntu 20.04。我使用命令为Python3.8安装了pip
sudo apt install python3-pip
但是,每次我尝试使用安装任何软件包
pip3 install pandas
我收到此错误
> WARNING: Retrying (Retry(total=4, connect=None, read=None,
> redirect=None, status=None)) after connection broken by
> 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection
> object at 0x7f3122821460>: Failed to establish a new connection:
> [Errno -3] Temporary failure in name resolution')': /simple/pandas/
> WARNING: Retrying (Retry(total=4, connect=None, read=None,
> redirect=None, status=None)) after connection broken by
> 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection
> object at 0x7f3122821460>: Failed to establish a new connection:
> [Errno -3] Temporary failure in name resolution')': /simple/pandas/
> WARNING: Retrying (Retry(total=4, connect=None, read=None,
> redirect=None, status=None)) after connection broken by
> 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection
> object at 0x7f3122821460>: Failed to establish a new connection:
> [Errno -3] Temporary failure in name resolution')': /simple/pandas/
> WARNING: Retrying (Retry(total=4, connect=None, read=None,
> redirect=None, status=None)) after connection broken by
> 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection
> object at 0x7f3122821460>: Failed to establish a new connection:
> [Errno -3] Temporary failure in name resolution')': /simple/pandas/
> WARNING: Retrying (Retry(total=4, connect=None, read=None,
> redirect=None, status=None)) after connection broken by
> 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection
> object at 0x7f3122821460>: Failed to establish a new connection:
> [Errno -3] Temporary failure in name resolution')': /simple/pandas/
我已经尝试了所有在线解决方案。什么都没用。我没有通过任何代理服务器连接,并且互联网连接运行正常