PyDev with Eclipse
In this section, we'll use Eclipse Kepler:
![EclipseKepler](/python/images/pydev/EclipseKepler.png)
To install PyDev and PyDev Extensions using the Eclipse Update Manager, we need to use the Help > Install New Software... menu.
![EclipseHelpMenu](/python/images/pydev/EclipseHelpMenu.png)
We should add the update site(s) we want to work with:
![SelectASite](/python/images/pydev/SelectASite.png)
Type in http://pydev.org/updates/.
![AddRepositoryPyDev](/python/images/pydev/AddRepositoryPyDev.png)
After entering the update sites, select the update site entered or select "All available sites" and add a filter for PyDev, so that it shows the contents of all the update sites that have PyDev. Then, we can select what we want to install and click 'Next'.
![PyDevSelected](/python/images/pydev/PyDevSelected.png)
![InstallDetails](/python/images/pydev/InstallDetails.png)
![RestartEclipse.png](/python/images/pydev/RestartEclipse.png)
After installing it, the first thing we should do is configure the Python and/or Jython and/or IronPython interpreter.
To configure the interpreter:
- Go to: Window > Preferences > PyDev > Interpreter - (Python/Jython/IronPython).
- Choose the interpreter we have installed in our computer (such as python.exe, jython.jar or ipy.exe).
- Select the paths that will be in our SYSTEM PYTHONPATH.
![Preferences.png](/python/images/pydev/Preferences.png)
![AutoConfigure](/python/images/pydev/AutoConfigure.png)
![selectinNeeded](/python/images/pydev/selectinNeeded.png)
![PreferencesFinal](/python/images/pydev/PreferencesFinal.png)
File->New->Other...
![File_new_other](/python/images/pydev/File_new_other.png)
Select PyDev Project:
![ProjectSelection](/python/images/pydev/ProjectSelection.png)
![PyDevProject](/python/images/pydev/PyDevProject.png)
![Explorer](/python/images/pydev/Explorer.png)
For a sample run, I made a source folder and a test file. Then, run the project:
![SampleRun.png](/python/images/pydev/SampleRun.png)