Pydev For Eclipse Mac



updated 10 August 2015

Introduction

The version of Eclipse used in the recording of Python 3 Essential Training was Eclipse 3.5.2 (Galileo SR2) and the version of PyDev was 1.5.7.

The version of Eclipse used in the recording of Python 3 Essential Training was Eclipse 3.5.2 (Galileo SR2) and the version of PyDev was 1.5.7. As of this writing, the current version of Eclipse is 4.5 (Mars) and the current version of PyDev is 4.2. Need to use older Eclipse/Java/Python. If you need to use an older version of Eclipse/Java/Python, below is the latest PyDev version to be used based on your requisites. Eclipse 4.5, Java 8: PyDev 5.2.0; Eclipse 3.8, Java 7: PyDev 4.5.5; Eclipse 3.x, Java 6: PyDev 2.8.2; Python 2.5 or older: PyDev 5.5.0. PyDev is a Python Development Environment (Python IDE plugin for Eclipse). It features an editor with code completion, code analysis, PyDev for Eclipse - Browse /pydev/PyDev 2.6.0 at SourceForge.net.

Although PyDev is available through Eclipse Marketplace, I had some problems making it work from there. After a few hit and trials, I found a way to integrate the plugin in Eclipse without going through the marketplace. With this blog, I would like to share the steps for how to install Python PyDev plugin in Eclipse.

As of this writing, the current version of Eclipse is 4.5 (Mars) and the current version of PyDev is 4.2.

The procedure for installing Eclipse itself has not changed, but the process documented in the movie for installing PyDev may not work for 4.2.

These instructions are for installing the latests PyDev with the latest Eclipse.

Pydev For Eclipse Mac Os

After you have followed these instructions, please finish the installation using the instructions in the movie to configure PyDev for the course.

Installing Eclipse

If you are using a Mac, you will need to make sure you install the latest Java JDK. Your operating system will offer to install Java for you, but that is not sufficient. You will need to install the Java Development Kit (JDK) from this link:

http://www.oracle.com/technetwork/java/javase/downloads/index.html

You will need to install the current version of Eclipse. This should work just as it does in the installation movie.

1. Download the current Eclipse from:

http://www.eclipse.org/downloads/

You may select any of the versions on the page, or simply select “Eclipse IDE for Java Developers”

2. Unzip the file using your operating system's unzip feature.

3. Copy the Eclipse directory (or .app file on a Mac) to the folder where your operating system keeps its application programs

On Windows-based systems this will be the 'Program Files' folder.

On Mac-based systems this will be the 'Applications' folder.

4. Run Eclipse.

5. From the Help menu, select Check for Updates

Eclipse will check for updates from various sources, depending on the installed options.

Be patient. This may take some time. Under some conditions it could take up to an hour, depending on how many sites it needs to contact and how many of them are busy or down.

6. Select and run the updates.

Again: Patience, Grasshopper.

7. After it's finished installing the updates, press Restart Now to restart Eclipse.

Pydev For Eclipse Mars 2

Installing PyDev

The installation process for PyDev has changed subtly since the recording of Python 3 Essential Training. These instructions are meant to document this new process.

After following these instructions, please continue with the video installation movie to configure PyDev for use before continuing with the rest of the course.

Note: The screenshots in this document were taken using a Macintosh running OS X 10.10. If you are running Eclipse on Windows, these instructions should still be the same for you. The only differences are cosmetic.

How To Install Pydev In Eclipse Neon

1. Select Install New Software from the Help menu.

Pydev for eclipse machine

2. In the Available Software window, press the Add... button.

3. Enter the Name and Location for the PyDev software. Type 'PyDev' for the Name. The URL 'http://pydev.org/updates' goes in the Location field.

4. Back in the Available Software window, select the PyDev item by checking the box. Make sure that PyDev is the only selection that is checked. There should be no other selections checked and the message “1 item selected” should be present under the selection pane. Then press Next.

5. The Install Details window should show just the one item. Press Next to continue.

6. In the Review Licenses screen, press the button next to 'I accept the terms ...' and then press Finish.

7. You will now see a progress bar as the software installs. This could take a while.

8. About halfway though, you will be asked to accept a certificate from Brainwy Software for Pydev. Check the box and press the OK button.

9. When the software is finished installing, you will need to restart Eclipse. Press the Restart Now button.

10. After restarting, you will see this Default Eclipse preferences for PyDev dialog box. Leave all the boxes checked and press OK.

Pydev Portable

The installation is now complete. Please return to the installation movie to configure PyDev for use with this course.