Additional channel to search for packages. These are
URLs searched in the order they are given (including
file:// for local directories). Then, the defaults or
channels from .condarc are searched (unless
--override-channels is given). You can use 'defaults'
to get the default packages for conda, and 'system' to
get the system packages, which also takes .condarc
into account. You can also use any name and the
.condarc channel_alias value will be prepended. The
default channel_alias is http://conda.anaconda.org/.
运行
conda install -h
后从CLI复制:频道是Navigator和conda查找包的位置。(source)具有相同名称的包可能存在于多个通道上。如果希望从默认通道以外的其他通道安装,则指定要使用哪个通道的一种方法是使用
conda install -c channel_name package_name
语法。 另请阅读this以获取使用通道的安装过程的描述。-c
代表--channel
。 它用于指定搜索包的频道。例如,假设您想下载pytorch。你可以在anaconda.org上搜索。你会看到火把是火把的。那么,你只需要做一个:
conda install pytorch -c pytorch
相关问题 更多 >
编程相关推荐