Wednesday, October 21, 2009

PyDev 1.5 on Eclipse Galileo 3.5 SR1

I begin to have more time to explore the Eclipse Galileo Service Release 1 (Eclipse 3.5.1). This time I want to set it up for my Python development, using the PyDev plugin.

PyDev is an Eclipse plugin for Python language application development. It supports CPython, Jython and IronPython runtimes. It supports the interactive as well as non-interactive Python development on Eclipse IDE.

Eclipse IDE (and platform) has become the de facto industry standard IDE. More and more free software, open source software, and proprietary software makers build their systems on Eclipse platform. Galileo is the codename for 3.5 release, and now the latest one is the SR1 (Service Release 1).

There has been interesting development on PyDev since its last 1.4.7 version. PyDev has moved to be sheltered under the umbrella of Aptana. PyDev and PyDev Extension now has been merged and both now open source (previously the PyDev Extension, the advanced version of PyDev was not an open source).

The update site has been moved from domain ( to domain ( . Aptana  This development looks good for me, means that PyDev now being maintained by its own organization, and hopefully in more serious efforts.

In Eclipse Galileo, you need to go to the menu and choose: Help > Install New Software...


It will show the Install dialog.


Click the [Add] button on the upper of menu dialog. You will get the "Add Site" dialog.

Type name and location.
Name: "PyDev Update  Site" (you can feel with any arbitrary name though)


Back to the "Install" dialog, the previous "Add Site" will fill up the "Work with" field for you.


Now tick the Checkbox "PyDev for Eclipse" under "PyDev". You may also optionally tick the "Pydev Mylyn Integration". In this example we don't tick.

Click the [Next >] button. It will show you the Install Details:


Proceed by clicking [Next >] button. Review Licenses dialog will be displayed.


Click the radio button "I accept the terms of the license  agreement" when you are agree with the licenses. Proceed by clicking [Finish] button.


You will see the progress bar. Somewhere around the progress, you will be asked whether to install software that contains unsigned content.

Click [OK] to proceed (we have no choice as long as the provider of this plugin hasn't signed the content).


Click the [Yes] button to restart your Eclipse IDE.


  1. Thank you very much - this is exactly what I was looking for - was very helpful.

  2. Have you ever had a problem where you did a fresh install of eclipse, and you installed pydev, and then eclipse acted as if pydev wasn't installed? And yet there were no errors in the error log?

    In other tests, I found when I installed something else first, like subclipse or cdt, and then installed pydev (again, on a totally clean install, with no projects, .eclipse and .metadata directories nuked), the other plugins "disappear" out of the interface. Again, with no error messages.

    Does this ring any kind of bell?

  3. Hi Dave,

    I have never had the problem that you did. Could you elaborate more on which specific Eclipse version and which update site you are using?
    I have had PyDev installations getting along well with Subclipse and many other plugins.
    I'll try my best to reproduce the issue.

    AFAIK, the .metadata folder is on workspace based.
    The second problem ('in other tests, ...') that you said of, is it because of change of Eclipse Workbench Perspective? Try to open the menu: Window >> Open Perspective. Choose the appropriate perspective you want to use, e.g. when using CDT, you should find something like C/C++ perspective instead of "PyDev" perspective.
    I just wonder whether the switching between perspectives was something that looked like you were missing some plugins?

  4. Hi Dave,

    Thanks for sharing with us your valuable experience here. I'm sure it will be helpful for people when they bump into the same problem.
    I will update my blog to include a notice about this!


  5. I faced the same bug when I installed the Pydev plug-in in Eclipse 3.5.1 on Windows. No other plug-ins were installed. Encouraged by the above conversation I backed to Eclipse 3.5.0 and found that the Pydev menus now were visible after installation! Thanks a lot!

  6. Figured it out...

    after hours of googling..

    (is that a verb?)

    apparently, Eclipse doesn't include the appropriate development has to be installed. I think it was called a PDE.

  7. Hi,
    I'm facing a problem after installing PyDev (v1.5.3) in Eclipse (v2.5.1)
    When I choose Windows | Preference | PyDev, I get an error saying : 'Unable to create the selected preference page.'
    The first line from the stack trace says:
    'java.lang.ClassNotFoundException: org.python.pydev.plugin.preferences.PydevRootPrefs'

    Would u know what I missed?

  8. Thank you, worked perfectly

    Galileo 3.5.1
    ubuntu 9.10

  9. Hi,

    Was this ever resolved ? I am facing a similar issue.


  10. Any luck finding the solution? Having the same problem here.

  11. Hi
    I'm facing the same problem Dave described (using 3.5.1). Does anyone know if there is a workaround available? Or do I have to back up to 3.5.0?

  12. I had the same issue in 3.5.1 - when installing certain plugins via the update manager, all options relating to all the installed plugins would vanish from the UI.

    For me, this turned out to be a permissions problem in linux. I had to grant the current user write permission on the eclipse installation directory (for a fresh install) and this got the update manager working properly.