1、错误
Cannot run program "D:\PycharmProjects\pythonProject\venv\Scripts\python.exe" (in directory "D:\Python\我的学习资料\Python\Mycode"): CreateProcess error=2, 系统找不到指定的文件。
2、原因
重新创建了项目,没有配置好编译器路径:invalid python interpreter selected for the project.
配置:file-setting-Python interpreter


博客指出运行Python程序时出现系统找不到指定文件的错误,原因是重新创建项目后未配置好编译器路径,显示为invalid python interpreter selected for the project,可通过file - setting - Python interpreter进行配置。

7664

被折叠的 条评论
为什么被折叠?



