无法更新企业防火墙后面的 conda 包。更新的 .condarc 文件,代理设置仍然要求代理用户名和密码
Unable to update conda packages behind corporate firewall. Updated .condarc file, proxy settings still it is asking for Proxy user name and password
我在公司防火墙后面。我正在尝试通过 运行 更新 conda 包:
conda update --all
这要求我提供代理用户名和密码。
https proxy username:
https proxy username: Password:
在阅读了很多关于这个问题的文章后,我得到了 IT 人员的帮助,并将“.condarc”文件中的 proxy_server 内容更新如下:
binstar_upload: true
channels:
- https://conda.binstar.org/numba
- https://pypi.python.org/simple/
- defaults
proxy_servers:
http: http://poPYtheSailor:spinach\@1234@1.1.1.1:5080
https: https://poPYtheSailor:spinach\@1234@1.1.1.1:5080
ssl_verify: false
这里的代理服务器用户名和密码是我的本机login/password。
完成所有这些后,我仍然收到相同的消息。它仍然要求输入用户名和密码。根据 IT 人士的说法 "the query is able to contact to the website from where the package are to be downloaded. But it is not able to contact to the proxy as it is not carrying any user id and password"。我真的不知道这是什么意思。请帮我解决这个问题。我们也有明显的动态 IP 地址 - 尽管我的 PC IP 地址在过去一年中是相同的。
以下是 "Conda info" 命令输出。
Current conda install:
platform : win-64
conda version : 3.14.1
conda-build version : 1.14.1
python version : 3.4.3.final.0
requests version : 2.7.0
root environment : C:\Anaconda3 (writable)
default environment : C:\Anaconda3
envs directories : C:\Anaconda3\envs
package cache : C:\Anaconda3\pkgs
channel URLs : https://conda.binstar.org/numba/win-64/
https://conda.binstar.org/numba/noarch/
https://pypi.python.org/simple/win-64/
https://pypi.python.org/simple/noarch/
https://repo.continuum.io/pkgs/free/win-64/
https://repo.continuum.io/pkgs/free/noarch/
https://repo.continuum.io/pkgs/pro/win-64/
https://repo.continuum.io/pkgs/pro/noarch/
config file : C:\Users\poPYtheSailor\.condarc
is foreign system : False
找到了我自己的问题的解决方法。所以必要的文件是“.condarc”(我的文件内容与我在问题中粘贴的文件相似)。其次,我已经要求我的 IT 安全团队在例外列表中添加 Web URL 列表(conda 联系以下载软件包)。这就对了。它现在正在工作。命令提示符不要求代理 userId/password。
我要求他们添加到例外列表中的网址是:
https://conda.binstar.org/numba/win-64/
https://conda.anaconda.org/
https://binstar.org/
https://anaconda.org/
https://repo.continuum.io/
https://pypi.python.org/
我在公司防火墙后面。我正在尝试通过 运行 更新 conda 包:
conda update --all
这要求我提供代理用户名和密码。
https proxy username:
https proxy username: Password:
在阅读了很多关于这个问题的文章后,我得到了 IT 人员的帮助,并将“.condarc”文件中的 proxy_server 内容更新如下:
binstar_upload: true
channels:
- https://conda.binstar.org/numba
- https://pypi.python.org/simple/
- defaults
proxy_servers:
http: http://poPYtheSailor:spinach\@1234@1.1.1.1:5080
https: https://poPYtheSailor:spinach\@1234@1.1.1.1:5080
ssl_verify: false
这里的代理服务器用户名和密码是我的本机login/password。
完成所有这些后,我仍然收到相同的消息。它仍然要求输入用户名和密码。根据 IT 人士的说法 "the query is able to contact to the website from where the package are to be downloaded. But it is not able to contact to the proxy as it is not carrying any user id and password"。我真的不知道这是什么意思。请帮我解决这个问题。我们也有明显的动态 IP 地址 - 尽管我的 PC IP 地址在过去一年中是相同的。
以下是 "Conda info" 命令输出。
Current conda install:
platform : win-64
conda version : 3.14.1
conda-build version : 1.14.1
python version : 3.4.3.final.0
requests version : 2.7.0
root environment : C:\Anaconda3 (writable)
default environment : C:\Anaconda3
envs directories : C:\Anaconda3\envs
package cache : C:\Anaconda3\pkgs
channel URLs : https://conda.binstar.org/numba/win-64/
https://conda.binstar.org/numba/noarch/
https://pypi.python.org/simple/win-64/
https://pypi.python.org/simple/noarch/
https://repo.continuum.io/pkgs/free/win-64/
https://repo.continuum.io/pkgs/free/noarch/
https://repo.continuum.io/pkgs/pro/win-64/
https://repo.continuum.io/pkgs/pro/noarch/
config file : C:\Users\poPYtheSailor\.condarc
is foreign system : False
找到了我自己的问题的解决方法。所以必要的文件是“.condarc”(我的文件内容与我在问题中粘贴的文件相似)。其次,我已经要求我的 IT 安全团队在例外列表中添加 Web URL 列表(conda 联系以下载软件包)。这就对了。它现在正在工作。命令提示符不要求代理 userId/password。 我要求他们添加到例外列表中的网址是:
https://conda.binstar.org/numba/win-64/
https://conda.anaconda.org/
https://binstar.org/
https://anaconda.org/
https://repo.continuum.io/
https://pypi.python.org/