从 https://conda.anaconda.org 安装时 Conda 挂起
Conda hangs when installing from https://conda.anaconda.org
我在尝试从 https://conda.anaconda.org. When I try for example 'conda install --channel https://conda.anaconda.org/IOOS rtree 安装软件包时遇到问题,它显示了要安装的依赖项,但是当我接受时,它卡在了 'Fetching packages ...' .我认为问题出在我的公司代理后面,但是当我检查我的代理设置时,我得到:
C:\Windows\system32>netsh.exe winhttp show proxy
gets
Current WinHTTP proxy settings:
Direct access (no proxy server).
看来我没有使用代理。我在 Windows 7.
中使用 Anaconda 2.4.0
谁能解决这个问题?
我在使用 conda 时遇到了类似的问题。
即使我在环境变量中做了适当的设置
对于我的代理服务器,conda 安装挂起。
我使用了您使用的 netsh 命令:
C:\Users\tauseef>netsh.exe winhttp show proxy
Current WinHTTP proxy settings:
Direct access (no proxy server).
我看到它 return 不是代理服务器,但我确实知道
我的系统在代理服务器后面。
因此,我创建了一个 .condarc 文件(如此处所述:)
在我 Windows7 的主目录中(C:\Users\tauseef)
您可以使用以下命令创建外观非常简洁的 .condarc 文件(参见 https://github.com/conda/conda/issues/1757):
conda config --add channels r
我在 .condarc 文件中输入了以下行
# Proxy settings: http://[username]:[password]@[server]:[port]
proxy_servers:
http: http://ef.fake.company.com:8080
https: https://ef.fake.company.com:8080
现在我可以使用
安装包(比如 mingw)
conda install mingw
我在 Ubuntu 服务器上遇到了类似的问题。在 运行 以下命令之后,我能够使用 conda install:
conda clean --all
我在尝试从 https://conda.anaconda.org. When I try for example 'conda install --channel https://conda.anaconda.org/IOOS rtree 安装软件包时遇到问题,它显示了要安装的依赖项,但是当我接受时,它卡在了 'Fetching packages ...' .我认为问题出在我的公司代理后面,但是当我检查我的代理设置时,我得到:
C:\Windows\system32>netsh.exe winhttp show proxy
gets
Current WinHTTP proxy settings:
Direct access (no proxy server).
看来我没有使用代理。我在 Windows 7.
中使用 Anaconda 2.4.0谁能解决这个问题?
我在使用 conda 时遇到了类似的问题。 即使我在环境变量中做了适当的设置 对于我的代理服务器,conda 安装挂起。
我使用了您使用的 netsh 命令:
C:\Users\tauseef>netsh.exe winhttp show proxy
Current WinHTTP proxy settings:
Direct access (no proxy server).
我看到它 return 不是代理服务器,但我确实知道 我的系统在代理服务器后面。
因此,我创建了一个 .condarc 文件(如此处所述:
conda config --add channels r
我在 .condarc 文件中输入了以下行
# Proxy settings: http://[username]:[password]@[server]:[port]
proxy_servers:
http: http://ef.fake.company.com:8080
https: https://ef.fake.company.com:8080
现在我可以使用
安装包(比如 mingw)conda install mingw
我在 Ubuntu 服务器上遇到了类似的问题。在 运行 以下命令之后,我能够使用 conda install:
conda clean --all