首页 > 解决方案 > 以管理员身份运行的 Visual Studio 代码不会运行代码

问题描述

希望你能在这里帮助我。以管理员身份运行 VS 代码时,VS 代码根本不允许我在终端中运行任何代码。即使是最简单的代码也不起作用。

正常运行时,我没有任何问题,除非我使用需要管理权限的功能。这就是问题出现的地方。

这是我在管理员模式下尝试在 VS Studio 代码中运行我的 python 脚本时收到的消息。

'cmd' is not recognized as an internal or external command,
operable program or batch file.

希望大家帮帮我,很烦。

VS Studio 代码:最新版本。操作系统:Win 8.1 Python:3.7.1

标签: python-3.xvisual-studio-code

解决方案


推荐阅读