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

创建环境时提示:ERROR conda.core.link:_execute(502)

创建环境时提示:ERROR conda.core.link:_execute(502)

创建环境最后Executing transaction,失败,提示如下:

Preparing transaction: done
Verifying transaction: done
Executing transaction: failed
ERROR conda.core.link:_execute(502): An error occurred while installing package 'https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge::setuptools-65.5.1-pyhd8ed1ab_0'.
FileNotFoundError(2, '系统找不到指定的文件。', None, 2, None)
Attempting to roll back.Rolling back transaction: doneFileNotFoundError(2, '系统找不到指定的文件。', None, 2, None)

配置环境通道时:

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-forge 编译失败。
删除conda-forge源,增加两个源配置:

conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/

再次创建环境:

Downloading and Extracting Packages
wheel-0.38.4         | 77 KB     | ############################################################################ | 100%
sqlite-3.41.2        | 1.3 MB    | ############################################################################ | 100%
python-3.8.13        | 19.8 MB   | ############################################################################ | 100%
vs2015_runtime-14.27 | 2.2 MB    | ############################################################################ | 100%
pip-23.2.1           | 2.8 MB    | ############################################################################ | 100%
openssl-1.1.1w       | 5.8 MB    | ############################################################################ | 100%
setuptools-68.0.0    | 1.0 MB    | ############################################################################ | 100%
vc-14.2              | 8 KB      | ############################################################################ | 100%
ca-certificates-2023 | 161 KB    | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#

Executing transaction 成功!

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

相关文章:

  • Python150题day07
  • LeetCode 2596. 检查骑士巡视方案
  • 大数据学习1.0-目录
  • 无涯教程-JavaScript - POWER函数
  • ChatGPT:解释Java中 ‘HttpResponse‘ 使用 ‘try-with-resources‘ 的警告和处理 ‘Throwable‘ 打印警告
  • Linux编辑器-gcc的使用
  • 第16篇ESP32 platformio_arduino框架 wifi联网_连接WiFi热点并连接tcp server收发数据进行通讯
  • day1| 704. 二分查找、27. 移除元素
  • R绘制箱线图
  • 利用Audit审计系统行为
  • uniapp:不同权限设置不同的tabBar
  • 如何将本地的项目上传到Git
  • [php] 文件上传的一个项目emmm
  • uniapp-时间格式和距离格式的转换
  • 【卖出备兑看涨期权策略(Covered_call)】
  • 【校招VIP】测试算法考点之智力分析
  • 【Linux 服务器运维】定时任务 crontab 详解 | 文末送书
  • Vue系列之入门篇
  • 【遥感卫星数据】Landsat数据Collection1和Collection2区别
  • socket() failed (24: Too many open files) while connecting to upstream, client
  • 认识单链表
  • pytest(二)框架实现一些前后置(固件,夹具)的处理,常用三种
  • 【计算机网络 - 自顶向下方法】计算机网络和因特网
  • 【Java 基础篇】Java Condition 接口详解
  • .360勒索病毒和.halo勒索病毒数据恢复|金蝶、用友、ERP等数据恢复
  • 计算机毕业设计 基于SpringBoot餐厅点餐系统的设计与实现 Java实战项目 附源码+文档+视频讲解
  • 天空飞鸟 数据集
  • 集成学习-树模型
  • 代码随想录算法训练营第一天(C)| 704. 二分查找 27. 移除元素
  • 重构优化第三方查询接口返回大数据量的分页问题