记录一下初次使用linux服务器的问题解决

Collecting package metadata (current_repodata.json): done Solving environment: done UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel simple <https://pypi.doubanio.com/simple\> The channel is not accessible or is invalid. You will need to adjust your conda configuration to proceed. Use `conda config --show channels` to view your configuration's current state, and use `conda config --show-sources` to view config file locations.

还有一个就是:总之就是好像和源有关,就是删除了所有源重新装一下就好

复制代码
conda config --set channel_priority strict#恢复默认的源

添加新的源

复制代码
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
相关推荐
CHH3213几秒前
在 Mac/linux 的 VSCode 中使用Remote-SSH远程连接 Windows
linux·windows·vscode·macos
tryCbest7 分钟前
Linux使用Docker部署项目后期更新
linux·运维·docker
孤独得猿24 分钟前
聊天室项目开发——etcd的安装和使用
linux·服务器·c++·etcd
siriuuus25 分钟前
Linux Tomcat 简单使用及 Nginx 反向代理
linux·nginx·tomcat
呱呱巨基1 小时前
vim编辑器
linux·笔记·学习·编辑器·vim
竹等寒2 小时前
Linux-网络安全私房菜(二)
linux·服务器·web安全
YuCaiH2 小时前
Linux文件处理
linux·笔记·嵌入式
早睡冠军候选人2 小时前
Ansible学习----Ansible Playbook
运维·服务器·学习·云原生·容器·ansible
sulikey2 小时前
从实验出发深入理解Linux目录权限:r、w、x分别控制什么?能否进入目录到底由谁决定?
linux·运维·服务器·ubuntu·centos
疯狂吧小飞牛2 小时前
ip rule 策略路由
linux·网络·tcp/ip·运维开发