conda channels

简介: conda channels

conda channels

what is conda channels ?

Conda channels are the locations where packages are stored. They serve as the base for hosting and managing packages. Conda packages are downloaded from remote channels, which are URLs to directories containing conda packages

set up channels

The conda-forge channel contains many general-purpose packages not already found in the defaults channel. The conda-forge is highest priority.
use following commands to add channels :

$ conda config --add channels defaults
$ conda config --add channels bioconda
$ conda config --add channels conda-forge
(base) [biocodee@localhost ~]$ conda config --show channels
channels:
  - conda-forge
  - bioconda
  - defaults
#order matters, use following cmd to make sure `conda-forge` highest priority, then `bioconda` next
(base) [biocodee@localhost ~]$ conda config --add channels bioconda
(base) [biocodee@localhost ~]$ conda config --add channels conda-forge
(base) [biocodee@localhost ~]$ conda config --show channels
channels:
  - conda-forge
  - bioconda
  - defaults
(base) [biocodee@localhost ~]$ conda config --prepend channels bioconda
Warning: 'bioconda' already in 'channels' list, moving to the top
(base) [biocodee@localhost ~]$ conda config --show channels
channels:
  - bioconda
  - conda-forge
  - defaults
(base) [biocodee@localhost ~]$ conda config --prepend channels conda-forge
Warning: 'conda-forge' already in 'channels' list, moving to the top
(base) [biocodee@localhost ~]$ conda config --show channels
channels:
  - conda-forge
  - bioconda
  - defaults

reference :

[1] Conda channels. website

目录
相关文章
pip install --upgrade transformers
pip install --upgrade transformers
237 1
|
8月前
|
缓存 安全 Go
|
5月前
|
缓存 定位技术 Python
是时候跟Conda说再见了
是时候跟Conda说再见了
334 2
|
5月前
|
机器学习/深度学习 PyTorch TensorFlow
conda、anaconda、pip、pytorch、tensorflow有什么关联?
conda、anaconda、pip、pytorch、tensorflow有什么关联?
97 3
|
6月前
|
Python
conda常见命令
conda常见命令
138 12
|
6月前
|
Shell Python
一些常见的 Conda 命令
一些常见的 Conda 命令
|
8月前
|
Linux iOS开发 MacOS
conda 安装, 配置以及使用
conda 安装, 配置以及使用
569 1
|
8月前
|
PyTorch TensorFlow 算法框架/工具
conda 创建虚拟环境
conda 创建虚拟环境
246 0
如何 成功解决Anaconda中conda install 包出现 :InvalidSpecError: Invalid spec: =2.7 的问题
如何 成功解决Anaconda中conda install 包出现 :InvalidSpecError: Invalid spec: =2.7 的问题
如何 成功解决Anaconda中conda install 包出现 :InvalidSpecError: Invalid spec: =2.7 的问题
|
Shell
conda配置
conda配置
209 1