ошибка обновления conda и pip, возможно, из-за проблем с брандмауэром - PullRequest
0 голосов
/ 23 декабря 2018

При попытке обновить conda с помощью conda update conda я получаю сообщение об ошибке:

Solving environment: failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/msys2/win-64/repodata.json.bz2>
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/
msys2/win-64/repodata.json.bz2 (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))

Я использую, чтобы обойти мою компанию FireWall, изменив настройку Proxy, но она больше не работает.Я также попытался conda config --set ssl_verify no и изменить \Anaconda3\pkgs\conda-4.5.12-py37_0\info\test\tests\condarc.

параметр

     active environment : None
       user config file : C:\Users\***\.condarc
 populated config files : C:\Users\***\.condarc
          conda version : 4.5.12
    conda-build version : 3.17.5
         python version : 3.7.1.final.0
       base environment : C:\ProgramData\Anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/win-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/win-64
                          https://repo.anaconda.com/pkgs/pro/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\ProgramData\Anaconda3\pkgs
                          C:\Users\***\AppData\Local\conda\conda\pkgs
       envs directories : C:\ProgramData\Anaconda3\envs
                          C:\Users\***\AppData\Local\conda\conda\envs
                          C:\Users\***\.conda\envs
               platform : win-64
             user-agent : conda/4.5.12 requests/2.21.0 CPython/3.7.1 Windows/10 Windows/10.0.15063
          administrator : True
             netrc file : None
           offline mode : False

пип тоже получает ошибки.

...