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 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 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/AJTTSP6N3LZRPKTFD7BTP5IMHDZ24O4O/