vscode执行conda deactivat报错:
CommandNotFoundError: Your shell has not been properly configured to
If using 'conda deactivate' from a batch script, change your
invocation to 'CALL conda.bat deactivate'.
To initialize your shell, run
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 runnin
按照很多教程执行了以后也没用,
然后我按照这个方法blog地址
发现原来是因为自己的window用户名为中文,然后它在一个乱码文件夹生成了WindowsPowerShell文件夹,并在里面生成了配置文件profile.ps1,把这个文件夹整个复制黏贴到正确的文档文件夹下,就可以解决报错了