views:

599

answers:

3

When trying to set the interpreter for python in Eclipse by choosing the executable, clicking OK displays "An error has occured." Does the interpreter name matter?

+1  A: 

i'm having the same problem and the error log does not help much... are you using eclipse on windows? i'm on ubuntu and i'm not sure .exe files actually exist... If you have any clue why it's not working, it would help

I'm also on ubuntu and the problem persists. I'm a beginner but I think the executables aren't .exe but something else. I have Ubuntu and Win XP on dual boot on my laptop, and I'm now using Eclipse on XP without a problem but I'd rather use it on Ubuntu. I can use Ubuntu+Eclipse+Python on the computers of my university by choosing the interpreter "/usr/bin/python", but on my own laptop it doesn't work. I have the newest version of python installed.
zequzd
A: 

Testing/running your apps on the command line is the safest bet, especially when writing threaded applications (you can kill your threadlocked program without killing eclipse)

Sean
A: 

I had a similar problems with this on Mac OS X. My problem was that I had a space in Eclipse's application path, e.g. "/Applications/eclipse 3.3/Eclipse".

I changed the folder name to "/Applications/eclipse3.3" and it fixed it.