命令行设置 conda activate 报错,python --version也查看不到版本

命令行运行 conda activate 报错,
C:\Users\HW>conda activate

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
  • 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'.

python --version也查看不到版本

在环境变量中添加Python目录

右键点击"计算机",然后点击"属性"

然后点击"高级系统设置"

选择"系统变量"窗口下面的"Path"

然后在"Path"行,添加python安装路径(如D:\Python27)。路径用分号";"隔开

您好,我是有问必答小助手,您的问题已经有小伙伴帮您解答,感谢您对有问必答的支持与关注!
PS:问答VIP年卡 【限时加赠:IT技术图书免费领】,了解详情>>> https://vip.csdn.net/askvip?utm_source=1146287632