window 환경에서 Cmder를 활용하여 conda activate base 를 쓸 때, 처음에 conda activate를 사용하려니 이런 에러가 떴다.
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
If using 'conda activate' from a batch script, change your invocation to 'CALL conda.bat activate'.
To initialize your shell, run
$ conda init <SHELL_NAME>
Currently supported shells are:
- bash
- cmd.exe
- 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 init만 치고 Cmder를 한번 닫았다 다시 켜니 된다.
멀리 갈 필요가 없었던 듯 하다.
'공부기록 > Python' 카테고리의 다른 글
[함수] 고급함수 (0) | 2023.04.14 |
---|---|
[python] 함수와 매개변수 (0) | 2023.04.13 |