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

KidMcC

When I go to run scripts in the terminal, I get an error in a red box that says

Pycharm cannot run program C:\Anaconda\python.exe (in directory E:\etc... CreateProcessError=2 The System cannot find the file specified.

I have uninstalled Anaconda and reinstalled it. I have also reinstalled PyCharm. Thing is though, I am using Anaconda2 and have my interpreter as C:\\Users\\my_name\\Anaconda2 and this works when I apply it in settings. I am not sure where this path C:\\Anaconda\\python.exe is coming from in the error, as I have uninstalled Anaconda and reinstalled it to C:\\users\\my_name\\Anaconda2

If it is worth noting, I did import a PyCharm settings jar file earlier today, but then decided not to use it and to go back to my original settings. This was before uninstalling PyCharm and Anaconda out of frustration, so any effects of that I think should be moot anyway.

Any help would be greatly appreciated as I am stuck using the console until I can figure this out.

Thanks.

John Morrison

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.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Cannot run program "..../abc.exe": error=13, Permission denied

From Dev

Cannot run .exe files

From Dev

How to run a .exe of a C program from .NET WPF?

From Dev

Run exe from within program

From Dev

java.io.IOException: Cannot run program "python" using Spark in Pycharm (Windows)

From Dev

Cannot run a c program which includes makemat.c

From Dev

Cannot run C program from Java using Cygwin

From Dev

Cannot run program "npm" in directory

From Dev

Cannot run huge Python program

From Dev

Cannot run a Scala program in IntelliJ

From Dev

Batch File Find Path of Exe and Run Program

From Dev

Batch File Find Path of Exe and Run Program

From Dev

Java processbuilder run a program(.exe) in background

From Dev

Cannot run program makefile when compiling a c++ program with NetBeans and MinGW gcc

From Dev

How to debug Cannot run program "C:\Program Files\Git" in a Jenkins job?

From Dev

How to run regasm.exe from a C++ program (.NET 4)

From Dev

c# program closes and restarts if I run the .exe by double click or cmd

From Dev

Python: Cannot Run Script Outside of PyCharm (ImportError)

From Dev

Trying to run a program in C

From Dev

WinForm Application cannot run because ".exe is missing"

From Dev

ActiveX cannot run .exe without privilege elevation

From Dev

Run .exe with C# Form

From Dev

opening a .exe (c program) from c#

From Dev

Cannot Run Any C++ Program with Classes in Multiple Files in Code Blocks

From Dev

In Intellij IDEA 14.1.4: Cannot run program "C:/Program Files (x86)/Java/jdk1.8.0_45/bin/java"

From Dev

Tkinter window closes automatically after Python program has run in PyCharm

From Dev

Tkinter window closes automatically after Python program has run in PyCharm

From Dev

Cannot run a simple console program using QProcess

From Dev

Eclipse ADT Unexpected exception 'Cannot run program'

Related Related

  1. 1

    Cannot run program "..../abc.exe": error=13, Permission denied

  2. 2

    Cannot run .exe files

  3. 3

    How to run a .exe of a C program from .NET WPF?

  4. 4

    Run exe from within program

  5. 5

    java.io.IOException: Cannot run program "python" using Spark in Pycharm (Windows)

  6. 6

    Cannot run a c program which includes makemat.c

  7. 7

    Cannot run C program from Java using Cygwin

  8. 8

    Cannot run program "npm" in directory

  9. 9

    Cannot run huge Python program

  10. 10

    Cannot run a Scala program in IntelliJ

  11. 11

    Batch File Find Path of Exe and Run Program

  12. 12

    Batch File Find Path of Exe and Run Program

  13. 13

    Java processbuilder run a program(.exe) in background

  14. 14

    Cannot run program makefile when compiling a c++ program with NetBeans and MinGW gcc

  15. 15

    How to debug Cannot run program "C:\Program Files\Git" in a Jenkins job?

  16. 16

    How to run regasm.exe from a C++ program (.NET 4)

  17. 17

    c# program closes and restarts if I run the .exe by double click or cmd

  18. 18

    Python: Cannot Run Script Outside of PyCharm (ImportError)

  19. 19

    Trying to run a program in C

  20. 20

    WinForm Application cannot run because ".exe is missing"

  21. 21

    ActiveX cannot run .exe without privilege elevation

  22. 22

    Run .exe with C# Form

  23. 23

    opening a .exe (c program) from c#

  24. 24

    Cannot Run Any C++ Program with Classes in Multiple Files in Code Blocks

  25. 25

    In Intellij IDEA 14.1.4: Cannot run program "C:/Program Files (x86)/Java/jdk1.8.0_45/bin/java"

  26. 26

    Tkinter window closes automatically after Python program has run in PyCharm

  27. 27

    Tkinter window closes automatically after Python program has run in PyCharm

  28. 28

    Cannot run a simple console program using QProcess

  29. 29

    Eclipse ADT Unexpected exception 'Cannot run program'

HotTag

Archive