[Pycharm] CreateProcess error = 2, the system cannot find the specified file

Problem Description

When using SSH to connect to the server for debugging, an error is displayed CreateProcess error = 2,系统找不到指定的文件, but it is clear that this file is available locally and on the server

solution

Select "Run"-"Edit Configurations", delete the code that prompts the error

For example, the code I reported wrong is genetic_algorithm.py, just delete it, and then select "Run"-"Run" again.
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_38705903/article/details/112647629