![](https://secure.gravatar.com/avatar/72a1cb4c30eff20412743dd6a6b6069c.jpg?s=120&d=mm&r=g)
Hi I am seeing issue with installing any package using pip. Could you please assist? Below is the error I am getting. (/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 (/home/ab63996/test) $ 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 ~]$
![](https://secure.gravatar.com/avatar/e8600d16ba667cc8d7f00ddc9f254340.jpg?s=120&d=mm&r=g)
You've emailed three times now on the same topic, so please consider consolidating your questions. Basically you're having connectivity problems. It looks like you're using a custom pem file with files.pythonhosted.org for some reason, so my assumption is that your certs are not working. I'm also not sure why you're specifying files.pythonhosted.org specifically. Lastly, you're using pip in a conda environment which should be avoided; use conda instead to manage your installs. On Tue, 31 Jul 2018 at 00:38 <Monika.singhal@anthem.com> wrote:
Hi I am seeing issue with installing any package using pip. Could you please assist? Below is the error I am getting.
(/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 (/home/ab63996/test) $ 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 ~]$ -- 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/A...
![](https://secure.gravatar.com/avatar/72a1cb4c30eff20412743dd6a6b6069c.jpg?s=120&d=mm&r=g)
Thanks. I tried below and still seeing the issue. Seems like company settings are not allowing download of any package from pypi.org. pip install is working if we try to install from other URLS. (/home/ab63996/test) (/home/ab63996/test4)[ab63996@dwbddisc1r2e ~]$ pip install 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. Anthem, Inc. Monika Singhal, BI Sol Engineer Sr Advisor, Enterprise Data Solutions O: (480) 696-4799| M: (480) 678-4160 Monika.singhal@anthem.com<mailto:Monika.singhal@anthem.com> Upcoming PTO: 05/31/2018- 07/01/2018 From: Brett Cannon [mailto:brett@python.org] Sent: Tuesday, July 31, 2018 10:40 AM To: Singhal, Monika <Monika.Singhal@anthem.com> Cc: distutils-sig@python.org Subject: Re: [Distutils] Pip install Issue You've emailed three times now on the same topic, so please consider consolidating your questions. Basically you're having connectivity problems. It looks like you're using a custom pem file with files.pythonhosted.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__files.pythonhosted.org&d=DwMFaQ&c=A-GX6P9ovB1qTBp7iQve2Q&r=1dsLl3CYotyg8lVsuiBaZ267toe2f6AO7gb48nnG5RY&m=OjmxZ4CUBxQ4suYUeM_RmTueFxd40nNGC10MjZVkgkI&s=0YxJNhWAtjDm40tinkD2-47E7zeWWqwq4VeIAq1gD8s&e=> for some reason, so my assumption is that your certs are not working. I'm also not sure why you're specifying files.pythonhosted.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__files.pythonhosted.org&d=DwMFaQ&c=A-GX6P9ovB1qTBp7iQve2Q&r=1dsLl3CYotyg8lVsuiBaZ267toe2f6AO7gb48nnG5RY&m=OjmxZ4CUBxQ4suYUeM_RmTueFxd40nNGC10MjZVkgkI&s=0YxJNhWAtjDm40tinkD2-47E7zeWWqwq4VeIAq1gD8s&e=> specifically. Lastly, you're using pip in a conda environment which should be avoided; use conda instead to manage your installs. On Tue, 31 Jul 2018 at 00:38 <Monika.singhal@anthem.com<mailto:Monika.singhal@anthem.com>> wrote: Hi I am seeing issue with installing any package using pip. Could you please assist? Below is the error I am getting. (/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 (/home/ab63996/test) $ pip install --trusted-host=files.pythonhosted.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__files.pythonhosted.org&d=DwMFaQ&c=A-GX6P9ovB1qTBp7iQve2Q&r=1dsLl3CYotyg8lVsuiBaZ267toe2f6AO7gb48nnG5RY&m=OjmxZ4CUBxQ4suYUeM_RmTueFxd40nNGC10MjZVkgkI&s=0YxJNhWAtjDm40tinkD2-47E7zeWWqwq4VeIAq1gD8s&e=> 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<https://urldefense.proofpoint.com/v2/url?u=http-3A__files.pythonhosted.org&d=DwMFaQ&c=A-GX6P9ovB1qTBp7iQve2Q&r=1dsLl3CYotyg8lVsuiBaZ267toe2f6AO7gb48nnG5RY&m=OjmxZ4CUBxQ4suYUeM_RmTueFxd40nNGC10MjZVkgkI&s=0YxJNhWAtjDm40tinkD2-47E7zeWWqwq4VeIAq1gD8s&e=>', 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 ~]$ -- Distutils-SIG mailing list -- distutils-sig@python.org<mailto:distutils-sig@python.org> To unsubscribe send an email to distutils-sig-leave@python.org<mailto:distutils-sig-leave@python.org> https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/<https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.python.org_mm3_mailman3_lists_distutils-2Dsig.python.org_&d=DwMFaQ&c=A-GX6P9ovB1qTBp7iQve2Q&r=1dsLl3CYotyg8lVsuiBaZ267toe2f6AO7gb48nnG5RY&m=OjmxZ4CUBxQ4suYUeM_RmTueFxd40nNGC10MjZVkgkI&s=RU3vDxC3wCBrK6fMBShs0ZADcIZPvlB5jKtuuDXQ6a4&e=> Message archived at https://mail.python.org/mm3/archives/list/distutils-sig@python.org/message/AJTTSP6N3LZRPKTFD7BTP5IMHDZ24O4O/<https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.python.org_mm3_archives_list_distutils-2Dsig-40python.org_message_AJTTSP6N3LZRPKTFD7BTP5IMHDZ24O4O_&d=DwMFaQ&c=A-GX6P9ovB1qTBp7iQve2Q&r=1dsLl3CYotyg8lVsuiBaZ267toe2f6AO7gb48nnG5RY&m=OjmxZ4CUBxQ4suYUeM_RmTueFxd40nNGC10MjZVkgkI&s=Yh8fW5Inzwmo9Y_w_mFhWbgo8oZufqHuOrLvLpFM_A8&e=> 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.
participants (3)
-
Brett Cannon
-
Monika.singhal@anthem.com
-
Singhal, Monika