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 )
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
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.
In my windows system python executable installed path is C:\\tools\\python2\\python.exe.
as mentioned above Go to eclipse Window -> Preferences -> PyDev -> Interpreters and click on "Python Interpreter" and pointed the python executable path.
非常感谢,我用您的帖子解决了我的问题,深表感谢。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.