CS COURSE

[Mac] Error: command not found 'conda'

bona.0 2023. 1. 5. 00:07

Anaconda is basically installed in  /opt/anaconda3 

 

When installing anaconda, it automatically adds the path to PATH.

If a problem occurs in this process, we need to update the PATH variable.

 

1. Path에 anaconda 추가해주기

export PATH="/opt/anaconda3/bin:$PATH"

2. 추가 한 새 PATH 환경 변수를 현재 쉘 세션에 로드

$ source ~/.zshrc