![]() ![]() ![]() This is especially useful for airgapped and enterprise installations: Normally the defaults channel points to several channels at theĭefault_channels is defined, it sets the new list of default channels. It overrides any channel aliases set in a user's. Information, see Example administrator-controlled installation. Receives a message reporting that channels are blocked. Other channels, the other channels are blocked and the user WhenĪllow_other_channels is set to false, if the user specifies When allow_other_channels is set to True or not specified,Įach user has access to the default channels and to any channels YouĬan change this by modifying the channel_alias as described Non-URL channels are interpreted as user names. Use defaults to automatically include all default channels. ![]() condarc file overridesĬonda defaults, causing conda to search only the channels listed Update conda automatically (auto_update_conda)Īdd pip as Python dependency (add_pip_as_python_dependency)Ĭonfigure conda for use behind a proxy server (proxy_servers) General configuration Īllow other channels (allow_other_channels) Will always take precedence over the other 3. Configuration environment variables (formatted like CONDA_) For example, configįiles (by parse order) will be superceded by any of the other configuration The precedence by which the conda configuration is built out is shown below.Įach new arrow takes precedence over the ones before it. When conflicts between configurations arise, the following strategies are employed: DefaultĬONDA_ROOT is the path for your base conda install.ĬONDA_PREFIX is the path to the current active environment. XDG_CONFIG_HOME is the path to where user-specific configuration files shouldīe stored defined following The XDG Base Directory Specification (XDGBDS). If on_win : SEARCH_PATH = ( "C:/ProgramData/conda/.condarc", "C:/ProgramData/conda/condarc", "C:/ProgramData/conda/condarc.d", ) else : SEARCH_PATH = ( "/etc/conda/.condarc", "/etc/conda/condarc", "/etc/conda/condarc.d/", "/var/lib/conda/.condarc", "/var/lib/conda/condarc", "/var/lib/conda/condarc.d/", ) SEARCH_PATH += ( "$CONDA_ROOT/.condarc", "$CONDA_ROOT/condarc", "$CONDA_ROOT/condarc.d/", "$XDG_CONFIG_HOME/conda/.condarc", "$XDG_CONFIG_HOME/conda/condarc", "$XDG_CONFIG_HOME/conda/condarc.d/", "~/.config/conda/.condarc", "~/.config/conda/condarc", "~/.config/conda/condarc.d/", "~/.conda/.condarc", "~/.conda/condarc", "~/.conda/condarc.d/", "~/.condarc", "$CONDA_PREFIX/.condarc", "$CONDA_PREFIX/condarc", "$CONDA_PREFIX/condarc.d/", "$CONDARC", ) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |