flathub / flathub/com.visualstudio.code
When the python project is opened, the terminal cannot activate the virtual environment
- 主要语言
- Shell
- 星标
- 217
- 派生
- 82
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 1
描述
Good, ubuntu24+vscode 1.97 a project,
.vscode/settings.json
`"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash",
"args": [
"-c",
"Source /opt/pyenv/envpy3.12/bin/activate; bash"
]
},
"python.terminal.activateEnvironment": true,`
Open the project: menu: terminal - - > the new terminal, and can't open the virtual environment, manual **source /opt/pyenv/envpy3.12/bin/activate**; Can open, where is not configured well, thank you.
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先,在 Ubuntu 24 和 VS Code 1.97 上,使用所示的 terminal.integrated.profiles.linux 和 python.terminal.activateEnvironment 设置,在项目的 .vscode/settings.json 中复现该问题。将新终端的行为与手动 source /opt/pyenv/envpy3.12/bin/activate 进行比较;当配置的新终端能够可靠地激活虚拟环境时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- bash, python, ubuntu, vscode
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100