Managing channels

最后发布时间:2022-08-07 22:56:33 浏览量:

https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-channels.html#

To make conda install the newest version of a package in any listed channel:
Add channel_priority: false to your .condarc file.

The default value is 'flexible'.
By default, conda prefers packages from a higher priority channel over any version from a lower priority channel. Therefore, you can now safely put channels at the bottom of your channel list to provide additional packages that are not in the default channels and still be confident that these channels will not override the core package set.

With flexible channel priority, the solver may reach into lower priority channels to fulfill dependencies, rather than raising an unsatisfiable error

With strict channel priority, packages in lower priority channels are not considered if a package with the same name appears in a higher priority channel.

With channelpriority disabled, package version takes precedence, and theconfigured priority of channels is used only to break ties.

快捷入口
Python 思维导图 浏览PDF 下载PDF
分享到:
标签