Python 为什么conda在.condarc文件中未列出的频道中查找包?
我正在努力在Win10计算机上安装软件包,因为我没有管理员权限,并且在整个公司基础设施中限制了对Internet的访问。我已经安装了Python3.6和其他几个包,我想克隆环境来做一些实验。由于我必须仅从公司的存储库安装软件包,我已将以下行添加到我的Python 为什么conda在.condarc文件中未列出的频道中查找包?,python,conda,Python,Conda,我正在努力在Win10计算机上安装软件包,因为我没有管理员权限,并且在整个公司基础设施中限制了对Internet的访问。我已经安装了Python3.6和其他几个包,我想克隆环境来做一些实验。由于我必须仅从公司的存储库安装软件包,我已将以下行添加到我的%userprofile%目录中的condarc文件中: ssl_verify: false channels: - https://uname:password@corporateURL/repository/type 现在,如果我尝试使用
%userprofile%
目录中的condarc
文件中:
ssl_verify: false
channels:
- https://uname:password@corporateURL/repository/type
现在,如果我尝试使用conda create--clone base--name exp_env
克隆基本环境,它会得到除一个之外的所有包,下载和提取包在该包中显示0%,并告诉我
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/pckname-version-pyversion.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.
(base) %userprofile%>conda info
active environment : base
active env location : %ProgramFiles%\Anaconda3
shell level : 1
user config file : %userprofile%\.condarc
populated config files : %userprofile%\.condarc
conda version : X
conda-build version : T
python version : Z.final.0
base environment : %ProgramFiles%\Anaconda3 (read only)
channel URLs : https://user:password@corporateURL/repository/type/win-64
https://user:password@corporateURL/repository/type/noarch
https://user:password@www.corporateURL/repository/type2/win-64
https://user:password@www.corporateURL/repository/type2/noarch
https://user:password@corporateURL/repository/type3/win-64
https://user:password@corporateURL/repository/type3/noarch
package cache : %ProgramFiles%\Anaconda3\pkgs
%userprofile%\AppData\Local\conda\conda\pkgs
envs directories : %userprofile%\AppData\Local\conda\conda\envs
%ProgramFiles%\Anaconda3\envs
%userprofile%\.conda\envs
platform : win-64
user-agent : conda/X requests/Y CPython/Z Windows/10 Windows/S
administrator : False
netrc file : None
offline mode : False