Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1543

Issues with installing python libraries on Windows : CondaHTTPError: HTTP 000 CONNECTION FAILED for url

$
0
0

I'd like to install the pymongo library but I'm getting the following error:

    (C:\Users\xxxxxxx\AppData\Local\Continuum\anaconda3) C:\Users\xxxxxxx>    conda install -c anaconda pymongo    Fetching package metadata ...    CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/a    naconda/win-64/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.    ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='conda.anaconda.org', por    t=443): Max retries exceeded with url: /anaconda/win-64/repodata.json (Caused by     ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000    00000054D6128>, 'Connection to conda.anaconda.org timed out. (connect timeout=9.    15)'))",),)

Steps taken to resolve:

1. Update C:\Users\\xxxxxxx\.condarc file with the following:channels:  - defaultsssl_verify: falseproxy_servers:http: http://sproxy.fg.xxx.com:1000https: https://sproxy.fg.xxx.com:10002. (C:\Users\xxxxxxx\AppData\Local\Continuum\anaconda3) C:\Users\xxxxxxx>    conda config --set ssl_verify False

Additional Info:

(C:\Users\xxxxxxx\AppData\Local\Continuum\anaconda3) C:\Users\xxxxxxx>conda infoCurrent conda install:               platform : win-64          conda version : 4.3.27       conda is private : False      conda-env version : 4.3.27    conda-build version : 3.0.22         python version : 3.6.2.final.0       requests version : 2.18.4            config file : C:\Users\xxxxxxx\.condarc             netrc file : None           offline mode : False             user-agent : conda/4.3.27 requests/2.18.4 CPython/3.6.2 Windows/7 Windows/6.1.7601          administrator : False

A number of posts online simply reinstalled Anaconda, any other options apart from a fresh install?


Viewing all articles
Browse latest Browse all 1543

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>