Pycharm Error: Error running ‘XXX‘: Cannot run program “XXX\python.exe“ (in directory “XXX“)
Solution:
1. Look at the path when the error is reported. If it does not correspond to the environment, it indicates that there is a problem
2. Exit pycharm – find the project file, delete the. Idea hidden file – reopen the project