小编Azz*_*Azz的帖子

在使用Python的vscode中,ctrl + F5总是要求"选择环境"

我安装了VSCode,下载了官方Python 3.6.4.

检测到VSCode并将环境设置为正确 - 我确实看到"python.pythonPath"用户设置设置正确.

但是,使用VS代码中使用,当Ctrl+ F5运行Python文件,我一直在问的"选择环境",它表明了我两个选择-的Python - Python的实验

什么是"Python实验"?每次尝试运行脚本时,如何摆脱中断?

python python-3.x visual-studio-code

18
推荐指数
1
解决办法
5245
查看次数

如何平衡在 Windows 上安装 Scoop 的安全性(PowerShell 执行策略更改)问题?

我想在 Windows 上尝试Scoop,其文档要求“必须为您的用户帐户启用 PowerShell”,方法是运行

PS > Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Run Code Online (Sandbox Code Playgroud)

当我运行命令时,我看到一条警告:

Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
you to the security risks described in the about_Execution_Policies help topic at
https:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"):
Run Code Online (Sandbox Code Playgroud)

应采取哪些措施来减轻这一风险?在安装 Scoot 后以及运行 Scoop …

powershell scoop-installer

5
推荐指数
1
解决办法
2553
查看次数