Are you using an older version of Python?

On Mon, Jul 30, 2018, 5:53 PM Singhal, Monika <Monika.Singhal@anthem.com> wrote:

I am setting issue installing any package using pip. I am getting below error. Do you have any idea on what could be causing the issue?

 

You should consider upgrading via the 'pip install --upgrade pip' command.

(/home/ab63996/test) [ab63996@dwbddisc1r2e ~]$ pip install  --trusted-host=files.pythonhosted.org spyder --cert /opt/cloudera/security/x509/cert.pem

Collecting spyder

  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', error(104, 'Connection reset by peer'))': /packages/db/96/59727db154f253ae81a1491481fb53bff0ebf1a6a03d2258e6eb8d57cb66/spyder-3.3.0-py2-none-any.whl

  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', error(104, 'Connection reset by peer'))': /packages/db/96/59727db154f253ae81a1491481fb53bff0ebf1a6a03d2258e6eb8d57cb66/spyder-3.3.0-py2-none-any.whl

  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', error(104, 'Connection reset by peer'))': /packages/db/96/59727db154f253ae81a1491481fb53bff0ebf1a6a03d2258e6eb8d57cb66/spyder-3.3.0-py2-none-any.whl

  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', error(104, 'Connection reset by peer'))': /packages/db/96/59727db154f253ae81a1491481fb53bff0ebf1a6a03d2258e6eb8d57cb66/spyder-3.3.0-py2-none-any.whl

  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', error(104, 'Connection reset by peer'))': /packages/db/96/59727db154f253ae81a1491481fb53bff0ebf1a6a03d2258e6eb8d57cb66/spyder-3.3.0-py2-none-any.whl

Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/db/96/59727db154f253ae81a1491481fb53bff0ebf1a6a03d2258e6eb8d57cb66/spyder-3.3.0-py2-none-any.whl (Caused by ProtocolError('Connection aborted.', error(104, 'Connection reset by peer')))

 

You are using pip version 10.0.1, however version 18.0 is available.

You should consider upgrading via the 'pip install --upgrade pip' command.

(/home/ab63996/test) [ab63996@dwbddisc1r2e ~]$ conda list

# packages in environment at /home/ab63996/test:

#

ca-certificates           2018.03.07                    0

certifi                   2018.4.16                py27_0

libgcc-ng                 7.2.0                hdf63c60_3

openssl                   1.0.2o               h20670df_0

pip                       10.0.1                   py27_0

python                    2.7.12                        1

readline                  6.2                           2

setuptools                39.2.0                   py27_0

sqlite                    3.13.0                        0

tk                        8.5.18                        0

wheel                     0.31.1                   py27_0

zlib                      1.2.11               ha838bed_2

 

 

 

 

 

 

 


CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information or may otherwise be protected by law. Any
unauthorized review, use, disclosure or distribution is prohibited. If you
are not the intended recipient, please contact the sender by reply e-mail
and destroy all copies of the original message and any attachment thereto.
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-leave@python.org
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/mm3/archives/list/distutils-sig@python.org/message/XRCMJWAXGI65GEUPGO3JTV5XEZISWYGU/