系统城装机大师 - 固镇县祥瑞电脑科技销售部宣传站!

当前位置:首页 > 系统教程 > Win10教程 > 详细页面

Win10使用anaconda的conda activate激活环境时报错怎么办?

时间:2021-05-25来源:www.pcxitongcheng.com作者:电脑系统城

Win10系统是现在大家都在使用的系统,最近有用户使用anaconda的conda activate激活环境时,遇到了报错的情况,这是什么原因呢?原因是之前激活了conda的环境没有用 conda deactivate 退出环境,但是问题是我使用conda deactivate会继续出现上述bug,下面小编为大家带来详细的解决方法,一起来看看吧!

 

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》

  Currently supported shells are:

  – bash

  – cmd.exe

  – 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’。

  解决办法:

  1、打开CMD,先输入activate,回车。

  2、然后再conda activate xxx ,回车 。

  声明:本文为CSDN博主「DK数据工作室」的原创文章,原文链接:https://blog.csdn.net/weixin_45941288/article/details/115544665

分享到:

相关信息

  • windows10系统更新不了怎么修复

    windows 10 无法更新的原因包括网络连接问题、存储空间不足、防病毒软件冲突、损坏的系统文件和第三方应用程序冲突。修复方法包括检查网络连接、清理存储空间、禁用防病毒软件、运行系统文件检查器、检查第三方应用...

    2024-07-16

  • Windows 10 上怎么开启 Linux子系统教程

    wsl 可以让你访问 windows 上的 linux bash shell,在 上一篇文章 中,我们讨论过关于 windows 的子系统 linuxwindows subsystem for linux(wsl)的目标用户,本文,我们将在 windows 10 的设备上,开启 wsl 的旅程。...

    2024-07-16

系统教程栏目

栏目热门教程

人气教程排行

站长推荐

热门系统下载