pip apt proxy _vendor.requests.exceptions.SSLError: HTTPSConnectionPool(host=‘pypi.org‘, port=443

1,pip死活连不上,提示没有SSL模块

不指定proxy报这种: pip._vendor.requests.exceptions.SSLError: HTTPSConnectionPool(host=‘pypi.org’, port=443): Max retries exceeded with url: /pypi (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”,))

指定了代理报这种:requests.exceptions.ProxyError: HTTPSConnectionPool(host=‘pypi.org’, port=443): Max retries exceeded with url: /pypi (Caused by ProxyError(‘Cannot connect to proxy.’, OSError(‘Tunnel connection failed: 407 Unauthorized’)))

不设代理:

$ pip3 search mxnet
Retrying (Retry(total=4, connect

你可能感兴趣的:(Python,报错,Linux)