CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run$ conda init <SHELL_NAME>
Currently supported shells are:
- bash
- fish
- tcsh
- xonsh
- zsh
- powershellSee 'conda init --help' for more information and options.
IMPORTANT: You may need to close and restart your shell after running 'conda init'.
将conda activate pyskl命令修改为source activate pyskl
其中pyskl表示创建的虚拟环境的名称
就可以解决了
可能是linux操作系统的原因