Could not find a version that satisfies the requirement pypdf (from versions: none) - installation

I'm having trouble installing pypdf, here is my error message after executing: pip install pypdf
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f012437ffa0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pypdf/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f01243a0310>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pypdf/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f01243a0670>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pypdf/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f01243a0820>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pypdf/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f01243a09d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pypdf/
ERROR: Could not find a version that satisfies the requirement pypdf (from versions: none)
ERROR: No matching distribution found for pypdf
WARNING: There was an error checking the latest version of pip.
To be honest, I don't quite understand the error messages. From what I could see on the net the problem comes surely from opencv? I already try upgrating pip and the following command:
pip install opencv-python
pip install python-opencv
pip install opencv-contrib-python
But everytimes I got the same problem with "Could not find a version that satisfies the requirement"

Temporary failure in name resolution
Your internet connection was bad. Try again later.
It might also be issues with your DNS configuration.
You can try ping pypi.org. The result should look like this:
64 bytes from 2a04:4e42:200::223 (2a04:4e42:200::223): icmp_seq=3 ttl=60 time=5.67 ms
64 bytes from 2a04:4e42:200::223 (2a04:4e42:200::223): icmp_seq=4 ttl=60 time=8.74 ms
64 bytes from 2a04:4e42:200::223 (2a04:4e42:200::223): icmp_seq=5 ttl=60 time=16.2 ms
64 bytes from 2a04:4e42:200::223 (2a04:4e42:200::223): icmp_seq=6 ttl=60 time=9.06 ms
64 bytes from 2a04:4e42:200::223 (2a04:4e42:200::223): icmp_seq=7 ttl=60 time=7.50 ms
64 bytes from 2a04:4e42:200::223 (2a04:4e42:200::223): icmp_seq=8 ttl=60 time=6.09 ms
64 bytes from 2a04:4e42:200::223 (2a04:4e42:200::223): icmp_seq=9 ttl=60 time=9.54 ms
If there is nothing happening, it's definitely your internet connection / DNS configuration. It's not related to any of the packages.
You can also check https://status.python.org/ - maybe PyPI has/had issues. But that is very rare.

Related

There was an error checking the latest version of pip - Docker Desktop tutorial

Recently I installed latest Docker Desctop version on my Windows 10 laptop.
Docker Desktop 4.11.1 (84025)
I am trying to run tutorial I am getting the following issue
docker build -t docker101tutorial .
[+] Building 17.6s (12/24)
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 1.12kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 52B 0.0s
=> [internal] load metadata for docker.io/library/nginx:alpine 3.1s
=> [internal] load metadata for docker.io/library/python:alpine 3.7s
=> [internal] load metadata for docker.io/library/node:12-alpine 3.3s
=> CACHED [stage-6 1/3] FROM docker.io/library/nginx:alpine#sha256:082f8c10bd47b6acc8ef15ae61ae45dd8fde0e9f389a8b5cb23c37408642bf5d 0.0s
=> [internal] load build context 0.4s
=> => transferring context: 10.45MB 0.4s
=> CANCELED [app-base 1/5] FROM docker.io/library/node:12-alpine#sha256:d4b15b3d48f42059a15bd659be60afe21762aae9d6cbea6f124440895c27db68 13.8s
=> => resolve docker.io/library/node:12-alpine#sha256:d4b15b3d48f42059a15bd659be60afe21762aae9d6cbea6f124440895c27db68 0.0s
=> => sha256:4517380049fc3c9aacceae7764fcf3500354b0ac8a47e4afb35b5bbeb75b9498 1.16kB / 1.16kB 0.0s
=> => sha256:bb6d28039b8cec9aa8d9032f9aa640a792a60c2cb1644691627bf046aab27c8b 6.58kB / 6.58kB 0.0s
=> => sha256:df9b9388f04ad6279a7410b85cedfdcb2208c0a003da7ab5613af71079148139 2.81MB / 2.81MB 2.1s
=> => sha256:3bf6d738020517f4622814e8c21db4b4aaa78ae7cab4e4f872c11696886c6285 3.15MB / 24.91MB 13.7s
=> => sha256:7939e601ee5e4737cf7fdb6d1dfe31ca4c2697109290462f694710761450aef0 2.36MB / 2.36MB 2.1s
=> => sha256:d4b15b3d48f42059a15bd659be60afe21762aae9d6cbea6f124440895c27db68 1.43kB / 1.43kB 0.0s
=> => extracting sha256:df9b9388f04ad6279a7410b85cedfdcb2208c0a003da7ab5613af71079148139 0.4s
=> => sha256:31f0fb9de071269230cb0f786012ae4e81d26e489b1fe922e57b5201e6bc9ab0 451B / 451B 2.2s
=> [base 1/4] FROM docker.io/library/python:alpine#sha256:0c46c7f15ee201a2e2dc3579dbc302f989a20b1283e67f884941e071372eb2cc 0.0s
=> CACHED [base 2/4] WORKDIR /app 0.0s
=> CACHED [base 3/4] COPY requirements.txt . 0.0s
=> ERROR [base 4/4] RUN pip install -r requirements.txt 13.4s
------
> [base 4/4] RUN pip install -r requirements.txt:
#21 5.174 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationE
rror(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)'))': /simple/mkdocs/
#21 5.750 WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationE
rror(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)'))': /simple/mkdocs/
#21 6.829 WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationE
rror(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)'))': /simple/mkdocs/
#21 8.951 WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationE
rror(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)'))': /simple/mkdocs/
#21 13.02 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationE
rror(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)'))': /simple/mkdocs/
#21 13.11 Could not fetch URL https://pypi.org/simple/mkdocs/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', por
t=443): Max retries exceeded with url: /simple/mkdocs/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify
failed: unable to get local issuer certificate (_ssl.c:997)'))) - skipping
#21 13.11 ERROR: Could not find a version that satisfies the requirement mkdocs==1.3.0 (from versions: none)
#21 13.12 ERROR: No matching distribution found for mkdocs==1.3.0
#21 13.21 Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=4
43): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify faile
d: unable to get local issuer certificate (_ssl.c:997)'))) - skipping
#21 13.22 WARNING: There was an error checking the latest version of pip.
------
executor failed running [/bin/sh -c pip install -r requirements.txt]: exit code: 1
I installed latest version of Python but it didn't help.

Conda keeps trying to connect to a proxy even though it should be desabled

I'm trying to create a new environment with conda. Before, I was working behind a proxy and so I had it set on my .condarc file. But now, working at home, even though I've removed proxy related lines from .condarc, it keeps trying to connect to it when I try to create a new environment. This is my log:
> conda create -n my_env python=3.6 ipykernel -vvv
DEBUG conda.gateways.logging:set_verbosity(231): verbosity set to 3
DEBUG conda.core.solve:solve_final_state(223): solving prefix D:\Miniconda3\envs\my_env
specs_to_remove: frozenset()
specs_to_add: frozenset({MatchSpec("python=3.6"), MatchSpec("ipykernel")})
prune: <auxlib._Null object at 0x000001E03753C808>
Collecting package metadata (current_repodata.json): ...working... TRACE conda.gateways.disk.test:file_path_is_writable(25): checking path is writable D:\Miniconda3\pkgs\urls.txt
DEBUG conda.core.package_cache_data:_check_writable(259): package cache directory 'D:\Miniconda3\pkgs' writable: True
DEBUG conda.core.subdir_data:_load(241): Local cache timed out for https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json at D:\Miniconda3\pkgs\cache\9b8cd901.json
DEBUG conda.core.subdir_data:_load(241): Local cache timed out for https://repo.anaconda.com/pkgs/r/win-64/current_repodata.json at D:\Miniconda3\pkgs\cache\a9664645.json
DEBUG conda.core.subdir_data:_load(241): Local cache timed out for https://conda.anaconda.org/conda-forge/win-64/current_repodata.json at D:\Miniconda3\pkgs\cache\f7597cf7.json
DEBUG conda.core.subdir_data:_load(241): Local cache timed out for https://conda.anaconda.org/conda-forge/noarch/current_repodata.json at D:\Miniconda3\pkgs\cache\62c98390.json
DEBUG conda.core.subdir_data:_load(241): Local cache timed out for https://repo.anaconda.com/pkgs/msys2/win-64/current_repodata.json at D:\Miniconda3\pkgs\cache\1394f696.json
DEBUG conda.core.subdir_data:_load(241): Local cache timed out for https://repo.anaconda.com/pkgs/main/noarch/current_repodata.json at D:\Miniconda3\pkgs\cache\b35683e8.json
DEBUG conda.core.subdir_data:_load(241): Local cache timed out for https://repo.anaconda.com/pkgs/r/noarch/current_repodata.json at D:\Miniconda3\pkgs\cache\227b7582.json
DEBUG conda.core.subdir_data:_load(241): Local cache timed out for https://repo.anaconda.com/pkgs/msys2/noarch/current_repodata.json at D:\Miniconda3\pkgs\cache\e915db84.json
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (1): conda.anaconda.org:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (1): conda.anaconda.org:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/msys2/noarch/current_repodata.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/main/win-64/current_repodata.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/msys2/win-64/current_repodata.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/main/noarch/current_repodata.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/r/noarch/current_repodata.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/conda-forge/win-64/current_repodata.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/r/win-64/current_repodata.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038DE3148>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/r/win-64/current_repodata.json
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038DEB7C8>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/msys2/noarch/current_repodata.json
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E03A137908>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/main/win-64/current_repodata.json
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038DE3DC8>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/msys2/win-64/current_repodata.json
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038DEBAC8>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/main/noarch/current_repodata.json
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038DEB2C8>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/r/noarch/current_repodata.json
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E03A137D48>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /conda-forge/win-64/current_repodata.json
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (2): conda.anaconda.org:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (2): repo.anaconda.com:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (2): repo.anaconda.com:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (2): repo.anaconda.com:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (2): repo.anaconda.com:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (2): repo.anaconda.com:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (2): repo.anaconda.com:443
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/conda-forge/noarch/current_repodata.json'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038DE3788>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /conda-forge/noarch/current_repodata.json
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (2): conda.anaconda.org:443
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/conda-forge/win-64/current_repodata.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/r/win-64/current_repodata.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/msys2/noarch/current_repodata.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/main/win-64/current_repodata.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/msys2/win-64/current_repodata.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/main/noarch/current_repodata.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/r/noarch/current_repodata.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/conda-forge/noarch/current_repodata.json'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038DF5808>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /conda-forge/win-64/current_repodata.json
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (3): conda.anaconda.org:443
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038DF57C8>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/r/win-64/current_repodata.json
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (3): repo.anaconda.com:443
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038DF26C8>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/msys2/noarch/current_repodata.json
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (3): repo.anaconda.com:443
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038DF2AC8>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/main/win-64/current_repodata.json
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (3): repo.anaconda.com:443
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038DF2EC8>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/msys2/win-64/current_repodata.json
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (3): repo.anaconda.com:443
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038DF5248>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/main/noarch/current_repodata.json
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (3): repo.anaconda.com:443
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038DF5588>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/r/noarch/current_repodata.json
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (3): repo.anaconda.com:443
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038DF5B48>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /conda-forge/noarch/current_repodata.json
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (3): conda.anaconda.org:443
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/conda-forge/win-64/current_repodata.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/r/win-64/current_repodata.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/msys2/noarch/current_repodata.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/main/win-64/current_repodata.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/msys2/win-64/current_repodata.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/main/noarch/current_repodata.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/pkgs/r/noarch/current_repodata.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
DEBUG urllib3.util.retry:increment(438): Incremented Retry for (url='/conda-forge/noarch/current_repodata.json'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038DFEAC8>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /conda-forge/win-64/current_repodata.json
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (4): conda.anaconda.org:443
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038DFEE08>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/r/win-64/current_repodata.json
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (4): repo.anaconda.com:443
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038E03288>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/main/win-64/current_repodata.json
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038E03088>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/msys2/noarch/current_repodata.json
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038E03488>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/msys2/win-64/current_repodata.json
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038E03688>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/main/noarch/current_repodata.json
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038E03848>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /pkgs/r/noarch/current_repodata.json
WARNING urllib3.connectionpool:urlopen(745): Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038E03A88>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')': /conda-forge/noarch/current_repodata.json
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (4): repo.anaconda.com:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (4): repo.anaconda.com:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (4): repo.anaconda.com:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (4): repo.anaconda.com:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (4): repo.anaconda.com:443
DEBUG urllib3.connectionpool:_new_conn(959): Starting new HTTPS connection (4): conda.anaconda.org:443
failed
Traceback (most recent call last):
File "D:\Miniconda3\lib\site-packages\urllib3\connection.py", line 157, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "D:\Miniconda3\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection
raise err
File "D:\Miniconda3\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 662, in urlopen
self._prepare_proxy(conn)
File "D:\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 948, in _prepare_proxy
conn.connect()
File "D:\Miniconda3\lib\site-packages\urllib3\connection.py", line 300, in connect
conn = self._new_conn()
File "D:\Miniconda3\lib\site-packages\urllib3\connection.py", line 164, in _new_conn
% (self.host, self.timeout),
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038E0A208>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Miniconda3\lib\site-packages\requests\adapters.py", line 449, in send
timeout=timeout
File "D:\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 760, in urlopen
**response_kw
File "D:\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 760, in urlopen
**response_kw
File "D:\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 760, in urlopen
**response_kw
File "D:\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "D:\Miniconda3\lib\site-packages\urllib3\util\retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='conda.anaconda.org', port=443): Max retries exceeded with url: /conda-forge/win-64/current_repodata.json (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038E0A208>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Miniconda3\lib\site-packages\conda\core\subdir_data.py", line 485, in fetch_repodata_remote_request
timeout=timeout)
File "D:\Miniconda3\lib\site-packages\requests\sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "D:\Miniconda3\lib\site-packages\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "D:\Miniconda3\lib\site-packages\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "D:\Miniconda3\lib\site-packages\requests\adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='conda.anaconda.org', port=443): Max retries exceeded with url: /conda-forge/win-64/current_repodata.json (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001E038E0A208>, 'Connection to 172.31.219.30 timed out. (connect timeout=9.15)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Miniconda3\lib\site-packages\conda\exceptions.py", line 1079, in __call__
return func(*args, **kwargs)
File "D:\Miniconda3\lib\site-packages\conda\cli\main.py", line 84, in _main
exit_code = do_call(args, p)
File "D:\Miniconda3\lib\site-packages\conda\cli\conda_argparse.py", line 82, in do_call
return getattr(module, func_name)(args, parser)
File "D:\Miniconda3\lib\site-packages\conda\cli\main_create.py", line 37, in execute
install(args, parser, 'create')
File "D:\Miniconda3\lib\site-packages\conda\cli\install.py", line 265, in install
should_retry_solve=(_should_retry_unfrozen or repodata_fn != repodata_fns[-1]),
File "D:\Miniconda3\lib\site-packages\conda\core\solve.py", line 117, in solve_for_transaction
should_retry_solve)
File "D:\Miniconda3\lib\site-packages\conda\core\solve.py", line 158, in solve_for_diff
force_remove, should_retry_solve)
File "D:\Miniconda3\lib\site-packages\conda\core\solve.py", line 262, in solve_final_state
ssc = self._collect_all_metadata(ssc)
File "D:\Miniconda3\lib\site-packages\conda\common\io.py", line 88, in decorated
return f(*args, **kwds)
File "D:\Miniconda3\lib\site-packages\conda\core\solve.py", line 415, in _collect_all_metadata
index, r = self._prepare(prepared_specs)
File "D:\Miniconda3\lib\site-packages\conda\core\solve.py", line 1011, in _prepare
self.subdirs, prepared_specs, self._repodata_fn)
File "D:\Miniconda3\lib\site-packages\conda\core\index.py", line 228, in get_reduced_index
repodata_fn=repodata_fn)
File "D:\Miniconda3\lib\site-packages\conda\core\subdir_data.py", line 105, in query_all
result = tuple(concat(executor.map(subdir_query, channel_urls)))
File "D:\Miniconda3\lib\concurrent\futures\_base.py", line 598, in result_iterator
yield fs.pop().result()
File "D:\Miniconda3\lib\concurrent\futures\_base.py", line 435, in result
return self.__get_result()
File "D:\Miniconda3\lib\concurrent\futures\_base.py", line 384, in __get_result
raise self._exception
File "D:\Miniconda3\lib\concurrent\futures\thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "D:\Miniconda3\lib\site-packages\conda\core\subdir_data.py", line 98, in <lambda>
package_ref_or_match_spec))
File "D:\Miniconda3\lib\site-packages\conda\core\subdir_data.py", line 110, in query
self.load()
File "D:\Miniconda3\lib\site-packages\conda\core\subdir_data.py", line 174, in load
_internal_state = self._load()
File "D:\Miniconda3\lib\site-packages\conda\core\subdir_data.py", line 248, in _load
repodata_fn=self.repodata_fn)
File "D:\Miniconda3\lib\site-packages\conda\core\subdir_data.py", line 595, in fetch_repodata_remote_request
caused_by=e)
conda.exceptions.CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/conda-forge/win-64/current_repodata.json>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
'https://conda.anaconda.org/conda-forge/win-64'
Thanks everyone for your time.
UPDATE:
If I run conda info --all, proxies values are "":
HTTPS_PROXY: <set>
HTTP_PROXY: <set>
With conda config --remove-key proxy_servers.http and conda config --remove-key proxy_servers.https it says that those keys don't exist (because they don't, I've removed them from .condarc). I've I set them back and run those commands, they are removed from .condarc but the problem remains.
Don't forget to check your windows environment variables.
There might cause the error.

How can fix pip connection to 127.0.0.1 on my mac?

Pip version: pip 18.0
Python version: 2.7.15
Operating system: mac 10.13.4
sudo -H pip install virtualenvwrapper
Password:
Collecting virtualenvwrapper
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x101c0e710>, 'Connection to 127.0.0.1 timed out. (connect timeout=15)')': /simple/virtualenvwrapper/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x101c0e810>, 'Connection to 127.0.0.1 timed out. (connect timeout=15)')': /simple/virtualenvwrapper/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x101c0e910>, 'Connection to 127.0.0.1 timed out. (connect timeout=15)')': /simple/virtualenvwrapper/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x101c0ea10>, 'Connection to 127.0.0.1 timed out. (connect timeout=15)')': /simple/virtualenvwrapper/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x101c0eb10>, 'Connection to 127.0.0.1 timed out. (connect timeout=15)')': /simple/virtualenvwrapper/
Could not find a version that satisfies the requirement virtualenvwrapper (from versions: )
No matching distribution found for virtualenvwrapper
Why I connection to 127.0.0.1 ?
So how can I fix this! thanks!!!
You probably connecting behind a proxy, which you need to parse the proxy creds. This error is basically when your pip is trying to connect to the net to download the package installer, but fails to establish the connection.
Try: pip install -–proxy=user:pass#host:port <package>
or pip install --proxy="" <package> to fool the proxy
Unless if the failure is on ssl verification, you can then parse a skip verify flag.
Why I connection to 127.0.0.1 ?
Because you've configured a proxy and forgot about it. Look for proxy settings in your environment variables with set | fgrep -i proxy.
Also check your ~/.pip/pip.conf.

i was installing jupyter notebook on windows 10, i had executed the command C:\Users>python -m pip install jupyter, following error inteminal

C:\Users>python -m pip install jupyter
Collecting jupyter
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)'))': /simple/jupyter/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/jupyter/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)'))': /simple/jupyter/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)'))': /simple/jupyter/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)'))': /simple/jupyter/
Could not fetch URL https://pypi.org/simple/jupyter/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/jupyter/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)'))) - skipping
Could not find a version that satisfies the requirement jupyter (from versions: )
No matching distribution found for jupyter
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)'))) - skipping

Nodemanger getting killed in Hadoop 2.6.0

Before running a job all the daemons in slave nodes are working fine. But while executing a process, the NodeManger is getting killed in Hadoop 2.6.0
2014-07-20 05:16:00,568 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8031. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
ERROR org.apache.hadoop.yarn.server.nodemanager.NodeStatusUpdaterImpl: Unexpected error starting NodeStatusUpdater
java.net.ConnectException: Call From node06.nadcse.edu/172.16.6.129 to 0.0.0.0:8031 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
Caused by: java.net.ConnectException: Connection refused
0.0.0.0:8031
I would start looking at the problem from this part.
Address 0.0.0.0? Does not look right.
RM and NM assuming on different nodes. It wouldn't be to connect obviously.
If this is a test cluster or something like that, try changing yarn.nodemanager.hostname to 127.0.0.1.

Resources