python:安装Anaconda,激活出错:CommandNotFoundError: Your shell has not been properly configured to use '...

安装了Anaconda,在命令行,输入python

出现Warning:

This Python interpreter is in a conda environment, but the environment has

not been activated.  Libraries may fail to load.  To activate this environment

please see https://conda.io/activation

命令行输入:conda info --envs

查看所在位置。

然后: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


解决方法:

根据提示输入 CALL conda.bat activate,回车。


你可能感兴趣的:(python:安装Anaconda,激活出错:CommandNotFoundError: Your shell has not been properly configured to use '...)