pycharm运行python程序报NotNull method com/intellij/execution/configurations/GeneralCommandLine.getExePath must not return null

pycharm运行python程序时,报错:NotNull method com/intellij/execution/configurations/GeneralCommandLine.getExePath must not return null

解决方案:

1.在代码里,邮件点击run

2.报错是因为这儿没有选中python 程序,点击选择后,点击下方的[Apply]和【Run】,就好了
在这里插入图片描述

在这里插入图片描述

Logo

新一代开源开发者平台 GitCode,通过集成代码托管服务、代码仓库以及可信赖的开源组件库,让开发者可以在云端进行代码托管和开发。旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐