【发布时间】:2023-04-03 18:21:01
【问题描述】:
我在工作中与 Anaconda 合作时遇到了问题。
当我有以下环境变量时:
http_proxy: http://domain\username:password@corp.com:8080
https_proxy: https://domain\username:password@corp.com:8080
或者只是
http_proxy: http://server\username:password@corp.com:8080
设置然后 git 工作。但是 Anaconda 不起作用。 我正在尝试运行
conda update conda
我得到:
Could not connect to https://repo.continuum.io/pkgs....
Could not connect to https://repo.continuum.io/pkgs....
Anaconda 不能与 http 一起使用吗?并需要一个 https 代理?因为我认为我的公司可能没有 https 代理服务器设置(我只看到他们使用 http)。 或者有时我会收到错误:
File "c\Anaconda2\", line 340, in wait
waiter.acquire()
KeyboardInterrupt
Could not connect to https://repo.continuum.io/pkgs....
Could not connect to https://repo.continuum.io/pkgs....
我使用的是 Windows 7。
【问题讨论】:
标签: python git proxy anaconda conda