Configuring Pydev Interpreter in Eclipse to use Enthought Python Distribution

enthought, pydev, python

Solution

At least on Windows, this seems to doable via:

[Navigate Eclipse menus] `"Window"`->`"Preferences"`->`"PyDev"`->`"Interpreter - Python"`-> `"New"` (which is next to `"Auto Config"` you tried to use, if I get it right)

[Type or paste into textboxes] `"Interpreter Name"`, `"Interpreter Executable"`

Click `"OK"` :))

[UPDATE]

From the Enthought Python Distribution `Readme.txt` (`EPD.mkpg/Contents/Resources/Readme.txt` in `epd-6.1-1-macosx-i386.dmg` EPD disk 32-bit MacOS disk image):

Applications are installed into /Applications/EPD32-6.1 and the underlying Python framework into /Library/Frameworks/Python.framework/Versions/6.1

So, `Interpreter Executable` must be:

/Library/Frameworks/Python.framework/Versions/6.1/python

You can supply (almost) any `Interpreter Name` you like. :)

Hope this helps.

[EDIT]

If this does not help, google search for `“Error getting info on interpreter”` gives the following (the problem may have to do with Eclipse version (older have bugs) and the symlink vs actual path problem):

Installing PyDev on OS X 10.5.2

[Pydev-users] [pydev - Users] mayapy on PyDev Maya Python is running on OSX

Cannot set python interperter in preferences - ID: 1523582 (unfold `"comments"` there)

Problem

I downloaded Pydev plugin for Eclipse (3.5.2) today on Mac OSX 10.5.8. To be able to use Pydev, I need to configure the interpreter in Eclipse. I am not clear what exactly I need to do here, or what this step does. I want to make sure that when I run programs from Eclipse using Pydev, it uses the Enthought Python Distribution (EPD) I have installed, and can use all the packages that come with EPD. Can someone please tell me simple steps that I need to follow. If I click on autoconfig, it shows a bunch of folders with the path /System/Library/Frameworks/Python.Framework/Versions/2.5/... But I know that the Python that came with EPD is version 2.6.4, so autoconfig is not choosing EPD. Thanks for any help. UPDATE - solution If anyone else is interested in learning how to do this, see the first link in the answer by mlvljr below. Use the solution there EXCEPT that as suggested in the solution, Shift+Cmd+G, did not help me see inside the Python.app package. To look inside it, use the "gear" drop down menu in the Finder and choose "Show Package Contents"

Original source