PyCharm Cannot Run Program C:\\Anaconda\\python.exe

The given link is outdated. However I solved my problem by clicking "Run" at the Pycharm's toolbar and then "Edit Configurations..." and I change my Interpreter to another actual one. Just changing it in the settings does not help, but this opperation already does ;)


Deleting the .idea folder solved the problem for me. Pycharm will create a new .idea folder with the correct path.


Most likely one of your installations was set for "All Users" and installed to the C:\ directory. The error is "The System cannot find the file specified." This is most likely because "C:\Anaconda\python.exe" does not exist and should be "C:\users\my_name\Anaconda2". Be sure you have set PyCharm to use the correct path "C:\users\my_name\Anaconda2". Here is a link on configuring this, https://docs.anaconda.com/anaconda/user-guide/tasks/pycharm/.

You may want to check your PATH and remove anything pointing to C:\Anaconda in Control Panel> System> Advanced Settings> Environment Variables.