Anaconda3安装
- 进入官网下载Anaconda3-2021.11-Linux-x86_64.sh
- 在终端中运行
bash Anaconda3-2021.11-Linux-x86_64.sh
Welcome to Anaconda3 2021.11
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>>
# 点击Enter,然后一直回车阅读注册信息:
Please answer 'yes' or 'no':'
>>> yes
Anaconda3 will now be installed into this location:
/home/xx/anaconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/home/xx/anaconda3] >>>
# 回车
conda -V查看是否安装成功- 若命令联想不成功,则需要在~/.bashrc中添加
export PATH="/home/xx/anaconda3/bin:$PATH"
创建虚拟环境
conda create -n py37 python=3.7
查看与删除虚拟环境
conda env list
conda env remove -n py37
进入与退出虚拟环境
conda activate py37
conda deactivate
版权声明:本文为anniaxie原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。