问题描述

ERROR conda.core.link:_execute(502): An error occurred while installing package ‘conda-forge::colorama-0.4.4-pyh9f0ad1d_0’.
FileNotFoundError(2, “No such file or directory: ‘XXXX/bin/python3.7’”)
Attempting to roll back.

看别的帖子都是说environment.txt这个文件有中文名,但是我根本没这个文件啊。。。

解决方案

更新源

conda update -n base -c defaults conda

参考:https://github.com/conda/conda/issues/8661

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐