vscode 修改terminal python版本
terminal
The new Windows Terminal and the original Windows console host, all in the same place!
项目地址:https://gitcode.com/gh_mirrors/term/terminal

·
1)terminal python 版本跟随系统默认
2)虚拟环境下,activate后,terminal python 版本会更换为 本 工程 python.exe.
3) 有时powershell 没有开放activate的运行权限,需要先打开权限: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
4)然后激活,.venv\scripts\activateterminal 中的python版本自动更换,




The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:7 个月前 )
68d9e0d0
This PR adds a new policy definition to the ADMX templates for settings
the default Terminal application in Windows.
> [!Note]
> This PR does not change any code of Windows, Console Host or Windows
Terminal. It only adds the definition for a new policy to the templates.
I got the registry values form the documentation and by testing the
values.
The policy is only available as user policy because the registry values
have to be in HKCU.
The Policy is implemented as preference (not inside the Policy key) and
therefore keeps it's value on removing (not configured) it. You can see
this in `gpedit.msc` on the policy symbol and the hint in the
description.
Closes #18302
Refs #18303 1 天前
712ce5fa
1 天前
更多推荐
所有评论(0)