티스토리 뷰
Etc.
에러 해결: CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'
ccc124213131 2023. 1. 20. 23:13728x90
다음과 같은 명령어를 우분투 환경에서 실행하였을 때,
conda activate test
다음과 같은 에러를 만났습니다.
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 info | grep -i 'base environment'
다음의 명령어를 실행합니다.
source {찾은 경로}/etc/profile.d/conda.sh
이제 성공할 겁니다.
conda activate test
'Etc.' 카테고리의 다른 글
에러 해결: python import cv2 importError: libGL.so.1 (0) | 2023.01.23 |
---|---|
자주 사용하게되는 screen 명령어 모음 (0) | 2023.01.20 |
Vscode 파이썬 실행 단축키 설정하는 방법 (0) | 2022.01.31 |
맥 source ~/.vimrc가 동작하지 않을 때 (0) | 2022.01.19 |
M1에서 JDK, 이클립스, Maven 설치하기 (0) | 2021.11.22 |
댓글