1)terminal python 版本跟随系统默认

2)虚拟环境下,activate后,terminal python 版本会更换为 本 工程 python.exe.

3) 有时powershell 没有开放activate的运行权限,需要先打开权限: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process

4)然后激活,.venv\scripts\activateterminal 中的python版本自动更换,

 

GitHub 加速计划 / term / terminal
8
0
下载
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 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐