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

按照图进行修改就行了

相关推荐
Hello.Reader3 小时前
PySpark 安装保姆级教程pip、Conda、手动安装、Spark Connect 一次讲透(一)
python·spark·conda·pip
Python大数据分析@5 小时前
Python包管理器 uv是否替代conda?
python·conda·uv
万里沧海寄云帆6 小时前
一步修复Win11下conda无法激活问题
linux·python·conda
波特率11520021 小时前
miniconda入门使用
python·conda·miniconda·python环境
好好学习叭~1 天前
将conda环境打包为docker镜像
docker·容器·conda
on_pluto_2 天前
论文GAN(GRAPH ATTENTION NETWORKS)阅读笔记
服务器·人工智能·pytorch·conda
齐整。2 天前
让conda支持py3.7
conda
2401_836554222 天前
在CentOS 7上完整安装Conda(Miniconda)避坑指南
linux·centos·conda
Watink Cpper5 天前
[项目构建]ubuntu24.04下从零部署limap步骤与问题解决方案
python·conda·三维建模·colmap·ubuntu24.04·三维线重建·limap
BubbleCodes5 天前
使用Conda和pip创建Python环境
python·conda·pip