• ubuntu下安装anaconda3


    参考博客:

    https://blog.csdn.net/haeasringnar/article/details/82079943

    这个更好一点:

    https://blog.csdn.net/qq_34638161/article/details/80790073

    恢复默认源:(json.decoder.JSONDecodeError: Unterminated string starting at: line 2469780 column 7 (char 73039692)

    https://blog.csdn.net/weixin_44706512/article/details/104652809

    Anaconda 下载链接:https://repo.anaconda.com/archive/

    移除现有的miniconda

    参考博客:https://blog.csdn.net/weixin_43141320/article/details/108343528

    使用命令:sudo vim ~/.bashrc

    source ~/.bashrc

    查看conda的安装目录:

    rm -rf /data1/conda/

    安装命令:

    Sudo bash ~/Downloads/Anaconda3-5.2.0-Linux-x86_64.sh

    export PATH=/home/user/anaconda3/bin:$PATH

    告别窘迫:修改conda环境和缓存默认路径

    sudo vim ~/.condarc

    source ~/.condarc

    https://blog.csdn.net/weixin_43499457/article/details/111413047

    https://www.jianshu.com/p/a5e9190b909c

    换源:(清华源)

    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
    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/msys2/

    //设置搜索时显示通道地址
    conda config --set show_channel_urls yes
     换源(中科大源)

    conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
    conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
    conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
    conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/msys2/
    conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/
    conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/
    //设置搜索时显示通道地址
    conda config --set show_channel_urls yes
    恢复默认源

    conda config --remove-key channels
     删除旧镜像源

    conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/tensorflow/linux/cpu/
     添加新镜像源

    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/tensorflow/linux/cpu/
    查看配置信息

    conda config --show

  • 相关阅读:
    BZOJ4987 Tree
    BZOJ4817 [SDOI2017]树点涂色
    BZOJ4811: [YNOI2017] 由乃的OJ
    BSGS算法
    codeforces914G Sum the Fibonacci
    NOI2018网络同步赛游记
    雅礼集训 2017 Day2 水箱 可并堆
    CTSC&APIO2018游记
    51Nod 有限背包计数问题 题解报告
    CTSC2016&&APIO2016游记
  • 原文地址:https://www.cnblogs.com/shuimuqingyang/p/14362788.html
Copyright © 2020-2023  润新知