vscode conda activate激活环境出错

vscode conda activate 出错

conda-script.py: error: argument COMMAND: invalid choice: 'activate'

bash 复制代码
To initialize your shell, run

    $ conda init <SHELL_NAME>

Currently supported shells are:
  - bash
  - fish
  - tcsh
  - xonsh
  - zsh
  - powershell

See 'conda init --help' for more information and options.

1 vscode 终端是 powershell :

bash 复制代码
 conda init  powershell

2 重启软件即可

相关推荐
BD_Marathon2 小时前
安装Jupyter notebook
ide·python·jupyter
讓丄帝愛伱1 天前
Zed Markdown 预览不能铺满全屏的原因及解决
ide
BD_Marathon2 天前
Jupyter魔法命令
ide·python·jupyter
郝学胜-神的一滴2 天前
Effective STL 条款 07:指针容器销毁前先删除
开发语言·c++·vscode·leetcode·rpc·visual studio
aaaameliaaa3 天前
VSCode的安装与配置
ide·笔记·vscode·编辑器
Star(up up up)4 天前
MySQL 事务隔离级别是如何实现的?从 MVCC 到锁机制原理详解
笔记·vscode·sql·学习·程序人生·mysql·学习方法
宝桥南山5 天前
Visual Studio 2026新特性 - 可以直接连接DeepSeek(使用Custom Endpoint Provider配置项)
ide·microsoft·微软·aigc·.net·visual studio
张紫娃7 天前
idea 如何看一个类的 .class 文件
java·ide·intellij-idea
顧棟8 天前
组件生命周期设计:从硬编码初始化到状态机
java·ide