参考博客:
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