文章

顯示從 7月, 2025 起發佈的文章

Unable to activate environment conda - prompted to Run 'conda init' before 'conda activate' but it doesn't work

圖片
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. <== Share Improve this answer Follow answered  Mar 4, 2024 at 13:32 acookie 847 2 2 silver badges 3 3 bronze badges 4 This o...