WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f7870e9e370>: Failed to establish a new connection: [Errno -2] 未知的名称或服务')': /simple/virtualenv/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f7870e9e160>: Failed to establish a new connection: [Errno -2] 未知的名称或服务')': /simple/virtualenv/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f7870e9e910>: Failed to establish a new connection: [Errno -2] 未知的名称或服务')': /simple/virtualenv/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f7870e9ea60>: Failed to establish a new connection: [Errno -2] 未知的名称或服务')': /simple/virtualenv/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f7870e9ebb0>: Failed to establish a new connection: [Errno -2] 未知的名称或服务')': /simple/virtualenv/
ERROR: Could not find a version that satisfies the requirement virtualenv (from versions: none)
ERROR: No matching distribution found for virtualenv
WARNING: You are using pip version 20.1.1; however, version 23.3.2 is available.
You should consider upgrading via the '/opt/python3/bin/python3.8 -m pip install --upgrade pip' command.
解决方法/opt/python3/bin/python3.8这是python的安装路径
/opt/python3/bin/python3.8 -m pip install --upgrade pip