问题遇到的现象和发生背景
由于用的服务器,服务器上有一个anaconda,我自己装了一个miniconda,今天切换到服务器的conda ,切换回来时发现输入
conda info --envs
出现
bash: dirname: command not found...
bash: dirname: command not found...
bash: sed: command not found...
Similar command is: 'zed'
bash: sed: command not found...
Similar command is: 'zed'
bash: sed: command not found...
Similar command is: 'zed'
bash: sed: command not found...
Similar command is: 'zed'
#以及
bash: tr: command not found...
-bash: export: `=/cluster/facility/hlhuang/miniconda3/bin/x86_64-conda-linux-gnu-c++': not a valid identifier
bash: sed: command not found...
Similar command is: 'zed'
bash: sed: command not found...
Similar command is: 'zed'
bash: tr: command not found...
-bash: export: `=/cluster/facility/hlhuang/miniconda3/bin/x86_64-conda-linux-gnu-g++': not a valid identifier
bash: sed: command not found...
bash: tr: command not found...
-bash: export: `=/cluster/facility/hlhuang/miniconda3/bin/x86_64-conda-linux-gnu-addr2line': not a valid identifier
bash: tr: command not found...
-bash: export: `=/cluster/facility/hlhuang/miniconda3/bin/x86_64-conda-linux-gnu-ar': not a valid identifier
bash: tr: command not found...
-bash: export: `=/cluster/facility/hlhuang/miniconda3/bin/x86_64-conda-linux-gnu-as': not a valid identifier
bash: tr: command not found...
-bash: export: `=/cluster/facility/hlhuang/miniconda3/bin/x86_64-conda-linux-gnu-c++filt': not a valid identifier
bash: tr: command not found...
-bash: export: `=/cluster/facility/hlhuang/miniconda3/bin/x86_64-conda-linux-gnu-elfedit': not a valid identifier
bash: tr: command not found...
#虽然报错,但是还是能正常进入环境,再次进入环境就就不会报错。但是重启后第一次进入还是会这样