CommandNotFoundError: No command ‘conda activate‘
程序员文章站
2022-06-01 19:47:57
...
前言,在windows下使用coda 虚拟环境时,在**环境
conda activate env_name
时,报错找不到conda activate
的命令。浪费了好久的时间,找到了合适的方法。
- 降低conda的版本
conda install -n base conda==4.6.7
- 通过Win10开始菜单进入PowerShell(管理员),输入命令
set-ExecutionPolicy RemoteSigned
,这是在输入一个y
,回车确定执行命令就行。 - 还是在PowerShell 中,输入
conda init
(如果报错无效命令,请执行第一步) - 关掉PowerShell,重启vscode,发现可以成功进入虚拟环境了!
CommandNotFoundError: No command ‘conda conda’.
Vscode中报错 CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate’.
上一篇: 数据库 插入查询的数据
下一篇: 链接————csapp
推荐阅读
-
ubuntu / xubuntu conda/pyenv need permission, but sudo conda :command not found
-
【解决方法】ubuntu下conda: command not found
-
Anaconda使用conda activate激活环境出错:CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'....
-
python问题:python interpreter is in a conda environment, but the environment has not been activate解决方法
-
Can't execute `conda activate` from bash script
-
Windows下Anaconda使用conda activate**环境出错
-
Anaconda使用conda activate**环境出错
-
CommandNotFoundError: No command ‘conda activate‘
-
vscode CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To
-
CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘解决办法