conda 的 envs_dirs 配置出错

conda报错内容如下:

复制代码
CondaEnvException: The specified prefix '/remote-home/xiaowu/miniconda3/llava_MI' appears to be a top level directory within an 
existing conda environment (i.e., {history_file} exists). Creating an environment in this location has the potential to irreversibly corrupt 
your conda installation and/or other conda environments, please choose a different location for your new conda environment. Aborting.

奇怪,为什么conda的env_dir会导到miniconda3的根目录呢?

检查 .condarc 配置

发现配置一切正常,envs_dirs一切正常

检查 .bashrc

破案了,一开始这里没有envs,我没想到 CONDA_ENVS_PATH这个路径这么狠。。。

按照图进行修改就行了

相关推荐
xiaotao1311 天前
阶段零:Python 安装与虚拟环境(venv / Conda)
开发语言·人工智能·python·conda
KANGBboy2 天前
anaconda 相关
python·conda
qq_白羊座3 天前
‌Miniconda 和 Conda 的关系
conda
萧行之5 天前
CONDA设置、查看、管理源
conda
DeepHacking6 天前
Ubuntu 上安装 ComfyUI(NVIDIA GPU / Conda / CUDA 12.1)
linux·ubuntu·conda
不吃香菜的小趴菜7 天前
conda配置国内镜像源
conda
hui-梦苑8 天前
[Conda]环境激活钩子作用与应用
conda
做cv的小昊8 天前
【conda】打包已有conda环境并在其他服务器上搭建
运维·服务器·python·conda·运维开发·pip·开发
csdn_aspnet9 天前
用Anaconda驯服AI开发流,从数据预处理到模型部署,全链路环境标准化实战
人工智能·docker·ai·conda·anaconda
时光之源10 天前
程序猿常用命令行(Linux、Windows、Powershell、CMD、conda、pip、apt)
linux·conda·pip