I have installed PyDev in eclipse Luna. After successful installation of PyDev, when I want to create a new project I get the error: Project interpreter not specified
How can I fix it? There is no option for interpreter to choose from.
eclipse version Luna, Mac OSX Yosemite, PyDev latest version (installed according to http://pydev.org/manual_101_install.html)
Go to Window -> Preferences -> PyDev -> Interpreters and click on "Python Interpreter". Then click on new button and add python executable location.
Go to the menu: Alt + R + S + The number of the Run you wish (It can be Python, Jython, unit-test, etc). Note: if you were using unit-tests, you could use: Ctrl+F9 to run the unit-tests from the module (and even selecting which tests should be run -- and if Shift is pressed it's launched in debug mode).
In my case it has worked with following steps
Prerequisite: Python should be installed
Example for windows:
c:\python2.7\python.exe
example for ubuntu:
/usr/bin/python
It should work.
On my Mac 10.11.3, using LiClipse 2.5.3 I solved it with these steps:
Open a terminal window and type which python
In my case it replied with /usr/bin/python
Calling python it informed me I was using version 2.7.10.
Next I called LiClipse and went LiClipse -> Preferences -> PyDev -> Interpreters -> Python Interpreter -> New
For "Interpreter Name" I used "Python 2.7.10", although I am aware that is just a sym link and it could be updated any time. For "Interpreter Executable" I entered "/usr/bin/python"
Then "Ok"
After that, the error message went away.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With