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 <SHELL_NAME>


解决方法:

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


©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,488评论 0 10
  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 10,081评论 0 23
  • 整理确实能够调节情绪。女儿的钥匙不见了,为了找钥匙,也顺带,中午将书柜整理一下。过程中发现了了好几本好书,于是来了...
    方子子阅读 302评论 0 1
  • 中国城市的劳动力成本升高了,国外一些加工厂家渐渐不倾向于几年前中国廉价劳动力。但是中国农村的大部分劳动力仍然存在低...
    LZPAPWW阅读 139评论 0 1
  • 加入了thoughtworks之后,自己确实是心里放松很多,找工作那一段时间的焦虑不安烦躁的状态也随之而去,想着终...
    wyb1995阅读 1,329评论 0 0