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

时间:2024-05-18 20:51:55

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】,就好了
pycharm运行python程序报NotNull method com/intellij/execution/configurations/GeneralCommandLine.getExePath

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