时间:2021-06-05 来源:系统之家
许多编程人员在Windows 10系统中使用anaconda的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 ,回车 。
注:(xxx是你的环境名或你的环境所在路径)
2023/04/26
Win10设备管理器出现F5521gw未知设备怎么解决?2022/03/08
Win10需要使用新的应用程序来打开这个windowsdefender链接如何解决这个问题?2022/03/04
Win10系统可以玩lol但是fps一直很低怎么解决kb5008212怎么卸载?有很多使用win10的朋友想要卸载kb5008212更新补丁,但是发现无法卸载,接下来小编为广大小伙伴带来几个方法,赶紧来看看吧!...
2022/03/02
当你完成win10更新或者是系统修复的开机的时候发现自己的win10系统一直卡在欢迎界面,这是怎么回事呢?相信有许多小伙伴都有遇到这类问题,那么跟着小编一起看看具体的操作方法...
2022/02/28