I've been using Python command 'conda' in the terminal on my Mac. But when I run a command like 'conda activate ...' in Emacs's shell (M-x shell), it gives me this objection:
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
It tells me
To initialize your shell, run $ conda init <SHELL_NAME> Currently supported shells are: - bash - fish - tcsh - xonsh - zsh - powershell
But when I run
conda init bash, it has no effect: I just get back the same result trying to run the 'conda activate ...' command again. Is there anything I can do about this?
Note: I just want to run conda in the shell as I do in the terminal. I'm not really interested in other improved methods of running conda in Emacs (such as conda mode). Thank you.
C-h v explicit-shell-file-nameproduce?. does it show path to your regular
bashshell. If not give its path explicitly by using Emacs'
conda init $SHELLin your regular
$SHELLoutside of Emacs?. Also, consider using