Entering edit mode
2.1 years ago
Binghong
▴
20
Hello everyone, the base suddenly can't be activated automatically when I start terminal, it can work before. I have to type bash
to activate base now. I have tried
conda config --set changeps1 true
conda config --set auto_activate_base true
but they didn't work. What's wrong with it and how to set to resolve it?
Any guidance is appreciated!
What is the output of
cat ~/.condarc
? You can try and add to that fileauto_activate_base: true
manually.the output is
Have you verified that the base environment is indeed not being activated - through, say, unavailable binaries or missing PATH locations, or are you going off the lack of the
(base)
in your$PROMPT
? If it's the latter, there could be something wrong with your$PROMPT
.I have met the same problem.
I run the command
conda config --set auto_activate_base true
and confirm that the config file have already changed to TRUE.But every time I start terminal, it doesn't automatically activate base environment and I can't use conda command. Have you already solved this problem? or do you have some clues to it? Thank you very much and looking forward to you reply ^_^
Not sure if this will help, but conda provides some code to add to
~/.bashrc
/~/.zshrc
that it reads on startup. Maybe that's missing in your setup?