This happens, because your shell (I suspect bash) is not initialized for conda
. This happens in case you did select NO during the installation, when it asked
Do you wish the installer to initialize Anaconda3 by running conda init?
A temporary solution from the anaconda FAQ (section "Should I add Anaconda to the macOS or Linux PATH?") is to run:
source <path to conda>/bin/activate
if you want a permanent solution, simply do
source <path to conda>/bin/activate
conda init bash
which will modify your ~/.bashrc to include the shell initialization
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…