美文网首页
python:安装Anaconda,激活出错:CommandNo

python:安装Anaconda,激活出错:CommandNo

作者: 红尘_漫步 | 来源:发表于2019-06-26 21:30 被阅读0次

安装了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 <SHELL_NAME>

解决方法:

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

相关文章

网友评论

      本文标题:python:安装Anaconda,激活出错:CommandNo

      本文链接:https://www.haomeiwen.com/subject/lawhcctx.html