Divide and Conquer

[에러해결] CommandNotFoundError: Your shell has not been properly configured to use 'conda activate' 본문

성장캐/기타

[에러해결] CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'

10살 2023. 7. 31. 23:42
728x90
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'.

conda.sh가 있는 경로를 알아야한다

source ~/anaconda3/etc/profile.d/conda.sh
conda activate <env_name>

잘 된다 ㅎㅎ

https://velog.io/@zxxzx1515/%EC%98%A4%EB%A5%98-%EB%85%B8%ED%8A%B8-CommandNotFoundError-Your-shell-has-not-been-properly-configured-to-use-conda-activate

반응형
Comments