conda update CondaHTTPError: HTTP None

后端 未结 17 817
无人共我
无人共我 2020-12-07 16:44

Midway through running Conda Update --all, the update stalled. Multiple packages had been updated. Now, when I run conda update --all or cond

17条回答
  •  执笔经年
    2020-12-07 17:19

    After reading FAR too many posts running around in circles, I found a simple solution at least to my flavor of this problem, which should also shed some light on root cause.

    Using sudo of same command (see below)
    

    conda create -n tensorenviron

    (output below) Solving environment: done

    CondaHTTPError: HTTP 000 CONNECTION FAILED for url 
    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.
    
    If your current network has https://www.anaconda.com blocked, please file
    a support request with your network engineering team.
    
    SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/r/osx-64/repodata.json.bz2 (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))
    

    sudo conda create -n tensorenviron

    (output below) Password: Solving environment: done

    ## Package Plan ##
    
    environment location: /Users/damonw/anaconda3/envs/tensorenviron
    
    
    Proceed ([y]/n)? y
    
    Preparing transaction: done
    Verifying transaction: done
    Executing transaction: done
    #
    # To activate this environment, use:
    # > source activate tensorenviron
    #
    # To deactivate an active environment, use:
    # > source deactivate
    #
    

提交回复
热议问题