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

按照图进行修改就行了

相关推荐
Echo_NGC22372 天前
【论文解读】Attention Is All You Need —— AI 时代的“开山之作“,经典中的经典(transformer小白导读)
人工智能·python·深度学习·神经网络·机器学习·conda·transformer
何中应2 天前
Conda安装&使用
python·conda·python3.11
qq_229058013 天前
conda中安装 rdkit版本的postgresql然后在Win11中使用虚拟环境里的rdkit
数据库·postgresql·conda
独隅6 天前
Anaconda被误删后抢救手册
conda
矢志航天的阿洪6 天前
手动安装Gurobi并配置gurobipy到Python环境(Windows/Conda)
windows·python·conda
GL_Rain7 天前
conda通过environment.yml创建虚拟环境(指定路径)报错解决教程
conda
雕刻刀10 天前
linux中复制conda环境
linux·python·conda
乐园游梦记10 天前
在pycharm中添加Conda创建的openmmlab虚拟环境作为解释器
ide·pycharm·conda
贵沫末11 天前
Python——图像处理项目Conda环境搭建
开发语言·python·conda
佳xuan11 天前
wsl(linux)安装miniconda及虚拟环境
linux·人工智能·conda