目录下载conda安装conda镜像源配置conda配置pip配置常用命令注意事项总结下载conda链接选择自己想要的版本下载,如我选的是这个,下完之后挪到linux服务器中或者,我们可以复制下载的链接,直接在服务器上下载
下载conda
安装conda
镜像源配置
conda配置
pip配置
常用命令
注意事项
链接
选择自己想要的版本下载,如我选的是这个,下完之后挪到linux服务器中
或者,我们可以复制下载的链接,直接在服务器上下载,如:
wget -c https://repo.anaconda.com/arcHive/Anaconda3-2021.05-Linux-x86_64.sh
在conda文件的统计目录下输入命令安装,一路回车,直到他要求输入yes
bash Anaconda3-2021.05-Linux-x86_64.sh
配置环境变量,这里的export PATH填的是conda的bin文件地址,我是安装在家目录的所以是这样,前面一个命令是添加环境变量,后者是刷新bashrc
export PATH=~/anaconda3/bin:$PATHsource ~/.bashrc
然后conda version
要是正常就安装成功了
注:三种配置环境变量的方法
修改/etc/profile
修改.bashrc
直接在shell下用export命令修改
vim ~/.condarc
然后配置镜像,如
channels:
- Http://mirrors.aliyun.com/anaconda/cloud/stackless
- https://mirrors.aliyun.com/anaconda/cloud/simpleitk
- https://mirrors.aliyun.com/anaconda/cloud/rdkit
- https://mirrors.aliyun.com/anaconda/cloud/rapidsai
- https://mirrors.aliyun.com/anaconda/cloud/qiime2
- https://mirrors.aliyun.com/anaconda/cloud/pyviz
- https://mirrors.aliyun.com/anaconda/cloud/PyTorch3D
- https://mirrors.aliyun.com/anaconda/cloud/pytorch-test
- https://mirrors.aliyun.com/anaconda/cloud/pytorch
- https://mirrors.aliyun.com/anaconda/cloud/psi4
- https://mirrors.aliyun.com/anaconda/cloud/plotly
- https://mirrors.aliyun.com/anaconda/cloud/omnia
- https://mirrors.aliyun.com/anaconda/cloud/ohmeta
- https://mirrors.aliyun.com/anaconda/cloud/numba
- https://mirrors.aliyun.com/anaconda/cloud/msys2
- https://mirrors.aliyun.com/anaconda/cloud/mordred-descriptor
- https://mirrors.aliyun.com/anaconda/cloud/menpo
- https://mirrors.aliyun.com/anaconda/cloud/matsci
- https://mirrors.aliyun.com/anaconda/cloud/intel
- https://mirrors.aliyun.com/anaconda/cloud/idaholab
- https://mirrors.aliyun.com/anaconda/cloud/fermi
- https://mirrors.aliyun.com/anaconda/cloud/fastai
- https://mirrors.aliyun.com/anaconda/cloud/dglteam
- https://mirrors.aliyun.com/anaconda/cloud/deepmodeling
- https://mirrors.aliyun.com/anaconda/cloud/conda-forge
- https://mirrors.aliyun.com/anaconda/cloud/caffe2
- https://mirrors.aliyun.com/anaconda/cloud/c4aarch64
- https://mirrors.aliyun.com/anaconda/cloud/bioconda
- https://mirrors.aliyun.com/anaconda/cloud/biobakery
- https://m
--结束END--
本文标题: linux之conda环境安装全过程
本文链接: https://lsjlt.com/news/202061.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-03-01
2024-03-01
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0