miniconda安装

  1. conda下载
    下载anacoda这一步可以去官网下载。

  2. anaconda安装
    如图所示终端运行
    bash Anaconda*.sh在这里插入图片描述
    然后 Enter键
    在这里插入图片描述
    然后一直Enter键进行。在这里插入图片描述
    然后 选择 yes

在这里插入图片描述
然后建议选择第三项自定义安装,我安装到了**/data/anconda3**的文件夹下面,输入好路径后回车。在这里插入图片描述
等待安装
在这里插入图片描述
建议选择yes 然后回车在这里插入图片描述

最后建议安装vscode很好的用的软件在这里插入图片描述
conda默认配置文件为 ~/.condarc ,如不存在使用 conda config --show-sources 查看配置文件位置
不可用则修改环境变量

sudo gedit  ~/.bashrc

在最下面添加如下信息

export PATH=$PATH:/home/你的用户名/miniconda3/bin

添加清华源

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda 
conda config --set show_channel_urls yes

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐