若在安装Anaconda之后,出现
Warning:
This Python interpreter is in a conda environment, but the environment has not been activated.
那么就在cmd控制台输入:conda activate
如果又出现
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run $ conda init <SHELL> Currently supported shells are:
- bash - 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'.、
那么就在管理员窗口powershell下,输入conda init
之后,转回cmd窗口重新输入conda activate即可