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这个路径这么狠。。。
按照图进行修改就行了