환경설정+Terminal

[Anaconda] CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.

sdbeans 2022. 2. 28. 19:08
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run

    $ conda init <SHELL_NAME>

Currently supported shells are:
  - bash
  - fish
  - tcsh
  - xonsh
  - zsh
  - powershell

See 'conda init --help' for more information and options.

IMPORTANT: You may need to close and restart your shell after running 'conda init'.

 

ㅎㅎ... 하라는 대로 init을 아무리 해봐도 안 됨.

근데 역시 우리의 킹갓제너럴 stackoverflow...❤️

https://stackoverflow.com/questions/47246350/conda-activate-not-working

 

Conda activate not working?

gonzo  ~/a/packages  conda env list # conda environments: # ppo_latest /nohome/jaan/abhishek/anaconda3/envs/ppo_latest root * /nohome/jaan/abhishek/anaconda3 gon...

stackoverflow.com

여길 보니 옛날버전은 command가 다르다고..!!! 내가 버전 업데이트를 안 했나...

source activate <ENV_NAME>​

이렇게 하니까 바로 됨!!!