mac os conda activate 커맨드 오류 해결 방법개발자_SHINBAK/인공지능 김신박2020. 11. 23. 17:02
Table of Contents
728x90
반응형
# run shell script - this will produce an error even though it succeeded above
$ ./shell_script.sh
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 activate (env~~ #가명 ) 을 입력 하면 가끔씩 오류가 날때가 있다.
이럴때는
#맨처음 터미널 열었을때 $가 뜨면
conda init bash
#맨처음 터미널 열었을때 %가 뜨면( 최근 맥북 산 사람들은 거의 이거일거다..)
conda init zsh
이렇게 입력 해 준다음 conda activate deeplearning 등을 입력하면 잘 해결된다.
사실 위에 읽어보면 설명이 너 쉘 에 따라서 콘다를 먼저 시작? 해달라고 하는 뜻이다 .
bash 나 zsh 이용자가 거의 대부분일 거라 생각해서 두가지를 썼다.
반응형
'개발자_SHINBAK > 인공지능 김신박' 카테고리의 다른 글
맥 ffmpeg 설치 (homebrew 이용) (0) | 2020.12.28 |
---|---|
맥북 프로나 리눅스에서 아나콘다 환경실행 하기 (0) | 2020.12.28 |
NLP 캐글 경진대회 (0) | 2020.08.06 |
NLP 이론 시험 요약 (0) | 2020.07.29 |
논문검색 사이트 RISS (0) | 2020.07.29 |
@kimshinbak :: 김신박
problem solver 개발자, 맛있는 음식이 행복한 남자
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!