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这个路径这么狠。。。

按照图进行修改就行了

相关推荐
视图猿人1 天前
Conda的安装和使用-jupyter notebook
conda
itwangyang5202 天前
Windows + Conda + OpenMM GPU(CUDA)完整安装教程-50显卡系列
人工智能·windows·python·conda
小杜今天学AI了吗2 天前
如何配置 linux 系统的conda 环境
linux·运维·conda
gravity_w3 天前
Conda常用命令总结
经验分享·笔记·conda
雪风飞舞4 天前
conda 常用命令
linux·windows·conda
惊讶的猫4 天前
vscode+conda
ide·vscode·conda
arthur.dy.lee4 天前
在pycharm中使用powershell7解决conda,ohmyposh报错的问题
ide·pycharm·conda
num_killer4 天前
小白的uv包管理工具使用
python·conda·pip·uv
NiceZack5 天前
pip与conda换国内源
conda·pip
love530love5 天前
EPGF 新手教程 11在 PyCharm(中文版 GUI)中创建 uv 环境,并把 uv 做到“项目自包含”(工具本地化为必做环节)
ide·人工智能·python·pycharm·conda·uv·epgf