You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Poetry Shell命令提示符中(base)部分的来源是什么?

问题解答
  • (base)是Anaconda或Miniconda默认虚拟环境的标识。
  • 如果你安装了Anaconda/Miniconda,其初始化脚本会默认配置为自动激活base环境。当你执行poetry shell时,Poetry是在已经激活base环境的shell会话中,叠加激活项目专属虚拟环境,因此提示符会同时显示两个环境的标识。
  • 若要移除(base)标识,可执行命令:conda config --set auto_activate_base false,之后重启shell或执行conda deactivate,再启动Poetry shell就不会再显示(base)了。

内容的提问来源于stack exchange,提问作者Robert Alexander

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.31 21:41:03