当前位置: 首页 > news >正文

conda源不能用了的问题

conda旧没用了,不知道什么原因,安装源出问题,报如下错:

Loading channels: failedUnavailableInvalidChannel: HTTP 404 NOT FOUND for channel anaconda/pkgs/main <https://mirrors.aliyun.com/anaconda/pkgs/main>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源配置如下

  - https://mirrors.aliyun.com/anaconda/pkgs/main/- https://mirrors.aliyun.com/anaconda/pkgs/free/- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free

重新删除,再次添加源

$ conda config --remove-key channels$ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
$ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
$ conda config --set show_channel_urls yes$ conda config --show channels
channels:- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/- defaults
# 删除defaults
$ conda config --remove channels defaults

重新配置以后,可以用了

http://www.lryc.cn/news/360834.html

相关文章:

  • 【C#】自定义List排序规则的两种方式
  • ANAH数据集- 大模型幻觉细粒度评估工具
  • AI前沿技术探索:智能化浪潮下的创新与应用
  • JVM类加载过程
  • 如何安装ansible
  • html+CSS+js部分基础运用11
  • 6,串口编程———通过串口助手发送数据,控制led亮灭
  • 【java】【python】leetcode刷题记录--栈与队列
  • java并发常见问题
  • 联芸科技偏高的关联交易:业绩波动性明显,海康威视曾拥有一票否决
  • hexo init命令报错:Error: EPERM: operation not permitted, mkdir ‘D:\‘
  • day-37 最大正方形
  • springboot 3.3版本 类数据共享(CDS)提升启动速度 使用方法+Docker打包代码
  • Django 目录
  • VirtualBox Ubuntu系统硬盘扩容
  • 【自动驾驶】针对低速无人车的线控底盘技术
  • Kotlin 继承和实现
  • MATLAB误差估计扩展卡尔博斯方法的目录大纲
  • NetMizer 日志管理系统前台RCE漏洞
  • 【spring】第二篇 bean实例化
  • MVC和MVVM
  • 【康耐视国产案例】智能AI相机机器视觉精准快速实现包裹标签的智能粘贴
  • 发现真正的诉求
  • Spring Boot配置MySQL数据库连接数
  • springboot595基于Java的大学生迎新系统-手把手调试搭建
  • 20 道大模型面试问题(含答案)
  • 【Java面试】四、MySQL篇(上)
  • 【Python】collections模块:高效处理数据的利器
  • Vue3实战笔记(51)—Vue 3封装带均线的k线图
  • 信息与未来2015真题笔记