记录一下初次使用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
相关推荐
rabbit_pro29 分钟前
Docker compose部署Ollama使用模型
linux·运维·docker
笑洋仟2 小时前
docker的overlay2目录占用磁盘空间很大,清理办法
运维·docker·容器
m0_738120722 小时前
ctfshow靶场SSRF部分——基础绕过到协议攻击解题思路与技巧(一)
服务器·前端·网络·安全·php
木雷坞2 小时前
2026 年 5 月国内可用 Docker 镜像源列表与配置方法
运维·docker·容器
Irissgwe3 小时前
六、Ext系列文件系统(2.核心原理与应用)
linux·分区··inode·软硬连接·路径缓存·ext系列文件
2301_780789663 小时前
“数字珍珠港”再现:西北能源基地DNS篡改事件深度复盘与防护升级
运维·服务器·网络·tcp/ip·网络安全·智能路由器·能源
tkevinjd3 小时前
wsl2安装
linux·wsl·虚拟机·wsl2
老王谈企服3 小时前
2026制造业供应链韧性提升,智能化将成为核心解决方案吗?基于实在Agent的端到端自动化实践
运维·人工智能·ai·自动化
故事还在继续吗3 小时前
Linux 内核模块开发实战
linux·linux内核