python-3.x - 以管理员身份运行的 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
解决方案
推荐阅读
- c++ - 如何访问在 if 语句中创建的指针,在它之外?
- python - Python 2.7 Selenium 网站上没有这样的元素
- apache-spark - Spark Scala - 拆分字符串语法问题
- javascript - 是否可以在通过 javascript 修改的对象上添加事件监听器?
- php - Sylius 管理员控制器如何限制为管理员用户
- ios - 如何向另一个类中的 UIButton 添加操作
- c# - 查找三位数回文的问题
- node.js - 托管一个 Httpie 服务器
- c# - 在 C# 中将 json 转换为 xml 时缺少 xml 标头
- webgl - 如何使用 ext_disjoint_timer_query 扩展来分析 WebGL?