Unable to activate environment conda - prompted to Run 'conda init' before 'conda activate' but it doesn't work
取得連結
Facebook
X
Pinterest
電子郵件
其他應用程式
add C:\Users\USER_NAME_HERE\AppData\Local\anaconda3\Scripts to Path =============================
In MacOS, i use conda init zsh,and i get the following message. It works!
$ conda init zsh
no change /opt/anaconda3/condabin/conda
no change /opt/anaconda3/bin/conda
no change /opt/anaconda3/bin/conda-env
no change /opt/anaconda3/bin/activate
no change /opt/anaconda3/bin/deactivate
no change /opt/anaconda3/etc/profile.d/conda.sh
no change /opt/anaconda3/etc/fish/conf.d/conda.fish
no change /opt/anaconda3/shell/condabin/Conda.psm1
no change /opt/anaconda3/shell/condabin/conda-hook.ps1
no change /opt/anaconda3/lib/python3.11/site-packages/xontrib/conda.xsh
no change /opt/anaconda3/etc/profile.d/conda.csh
modified /Users/acookie/.zshrc
==> For changes to take effect, close and re-open your current shell. <==
Worked for me too, though I was confused for a while until I realized I needed to close and re-open the shell. That's what I get for not reading all the instructions!