我无法从某些conda渠道下载软件包,但其他渠道也能正常工作。
为了演示,我创建了一个新的conda环境
conda create --name fastai2 python=3.7
哪个运行正常。
conda activate fastai2
然后,我要安装NVIDIA Rapids,
conda install -c rapidsai -c nvidia -c conda-forge -c defaults rapids=0.13 python=3.7
然后继续尝试安装许多软件包。但是,从英伟达(NVIDIA)或Rapidsai渠道获得的任何信息都会失败。
Downloading and Extracting Packages
nvstrings-0.13.0 | 129 KB | | 0%
dask-xgboost-0.2.0.d | 14 KB | | 0%
pygments-2.6.1 | 683 KB | ############################################################################# | 100%
libnvstrings-0.13.0 | 29.6 MB | | 0%
libnetcdf-4.7.4 | 1.3 MB | ############################################################################# | 100%
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/rapidsai/linux-64/nvstrings-0.13.0-py37_0.tar.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.
我的condarc看起来像这样。
ssl_verify: /usr/local/share/ca-certificates/XXXXX_https_intercept.crt
allow_conda_downgrades: true
channels:
- conda-forge
- defaults
proxy_servers:
http: http://XXXXXXX
https: https://XXXXXXX
我可以使用wget或curl缩小软件包,因此不会通过公司防火墙阻止任何网站。
我在其他渠道上也遇到问题。就像我尝试安装fastai一样。
conda install -c pytorch -c fastai fastai
过去2天,我尝试了各种方法。就像这些看起来相似的问题。 https://github.com/conda/conda/issues/8046 https://github.com/conda/conda/issues/6007
任何帮助将不胜感激。
安东尼