I am trying to install same packages by pip. But I get this:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:727)'),)': /pypi
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:727)'),)': /pypi
I try to solve it by these ways. But they don't work.
1) Add trusted-host. It does not work.
--trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org
2) Maybe it was caused by pip version or python version I think. Then I tried pip-19.3, pip-19.0, python-2.7.17, python-3.6.5. It does not work.
3) Update openssl to 1.1,and compile python with ssl. I get the error(both python-2.7.17, python-3.6.5) that I need to update libc to 2.17.
My os is centos 6.3. libc was 2.14. I have no root. Do I have to update libc?