相关疑难解决方法(0)

在Windows上安装python库的问题:CondaHTTPError:HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/anaconda/win-64

大家早,

我想安装pymongo库但收到以下错误:

    (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)'))",),)
Run Code Online (Sandbox Code Playgroud)

采取的步骤解决:

1. Update C:\Users\\xxxxxxx\.condarc file with the …
Run Code Online (Sandbox Code Playgroud)

python install pymongo anaconda conda

9
推荐指数
6
解决办法
1万
查看次数

标签 统计

anaconda ×1

conda ×1

install ×1

pymongo ×1

python ×1