如何解决Error running: Cannot start process, the working directory报错问题

这篇文章将为大家详细讲解有关如何解决Error running: Cannot start process, the working directory报错问题,文章内容质量较高,因此小编分享给大家做个参考,希望大家阅读完这篇文章后对相关知识有一定的了解。

环境:

PyCharm 2019.2

问题:

运行项目时,提示:Error running 'XXX': Cannot start process, the working directory 'xxx\xxx\xxx ' does not exist

解决办法:

1、工具栏—>Run—>Edit Configurations

如何解决Error running: Cannot start process, the working directory报错问题

2、删除出问题的项目路径:

如何解决Error running: Cannot start process, the working directory报错问题

3、保存后,重新运行项目,就正常了。

关于如何解决Error running: Cannot start process, the working directory报错问题就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。