⑴许多编程人员在Windows 系统中使用anaconda的conda activate激活环境时都出现了报错这是什么情况呢?其实想要解决这个问题都十分的简单,下面小编就为大家讲解一下到底该怎么操作吧!
⑵mandNotFoundError: Your shell has not been properly configured to use ‘conda activate’。
⑶If using ‘conda activate’ from a batch script, change your
⑷invocation to ‘CALL conda.bat activate’。
⑸To initialize your shell, run
⑹$ conda init 《SHELL_NAME》
⑺Currently supported shells are:
⑻– bash
⑼– cmd.exe
⑽– 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’。
⒄、打开CMD,先输入activate,回车。
⒅、然后再conda activate xxx ,回车 。
⒆注:(xxx是你的环境名或你的环境所在路径