激活虚拟环境报错
PS E:\projects\Text2Scene_v3> conda activate base
CommandNotFoundError: 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
- powershell
See 'conda init --help' for more information and options.
IMPORTANT: You may need to close and restart your shell after running 'conda init'.
Windows10 +vscode
网上查到的全用了之后发现,都没用!!
后来发现为什么前面的是PS不是(base)之类的,结果把终端从 power shell 换成 cmd 就好了emmmmm~~
错误这个东西时因人而异的,要解决可能要花很多无谓的时间,不过耐心搞搞总会解决的,冲冲冲!!!
如果我这个方法没解决就去看看别人的吧~~