为什么 PyCharm 上的运行选项被禁用? [英] Why is the Run option disabled on PyCharm?

查看:26
本文介绍了为什么 PyCharm 上的运行选项被禁用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我观察到在一个新项目中 Run 选项被禁用,我希望能够运行脚本而无需手动为其添加配置.

I observed that on a new project the Run option is disabled and I expected to be able to run a script without having to manually add a configuration for it.

推荐答案

没有配置就无法运行,但是如果你在脚本中使用运行上下文菜单选项,可以自动创建临时配置编辑.

You can't run without a configuration, however temporary configuration can be created automatically if you use Run context menu option in the script editor.

这篇关于为什么 PyCharm 上的运行选项被禁用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆