时间:2021-05-25来源:www.pcxitongcheng.com作者:电脑系统城
Win10系统是现在大家都在使用的系统,最近有用户使用anaconda的conda activate激活环境时,遇到了报错的情况,这是什么原因呢?原因是之前激活了conda的环境没有用 conda deactivate 退出环境,但是问题是我使用conda deactivate会继续出现上述bug,下面小编为大家带来详细的解决方法,一起来看看吧!
报错内容:
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
2024-07-20
Windows10系统中gpedit.msc找不到怎么解决2024-07-18
windows10系统错误代码0xc0000001怎么解决2024-07-17
windows10系统安装失败怎么修复windows 10 无法更新的原因包括网络连接问题、存储空间不足、防病毒软件冲突、损坏的系统文件和第三方应用程序冲突。修复方法包括检查网络连接、清理存储空间、禁用防病毒软件、运行系统文件检查器、检查第三方应用...
2024-07-16
wsl 可以让你访问 windows 上的 linux bash shell,在 上一篇文章 中,我们讨论过关于 windows 的子系统 linuxwindows subsystem for linux(wsl)的目标用户,本文,我们将在 windows 10 的设备上,开启 wsl 的旅程。...
2024-07-16