Search code examples
eclipsepydev

PyDev not working in Eclipse


I recently had to reset my PC and I get this error after relaunching Eclipse:

No editor descriptor for id org.python.pydev.editor.PythonEditor

I tried searching for a solution but others like here have been caused by upgrading Eclipse. I'm new to Eclipse and programming in general. Any help will be appreciated. Thank you.


Solution

  • Update Java 11 now required for PyDev. Rest of answer preserved as still relevant.

    Two things to check:

    1. Check that you are running Java 7 or greater and newish Eclipse. From PyDev requirements:

    Requirements

    Java 7: Important: If you don't have java 7, the update process may appear to succeed, but PyDev will simply not show in the target installation. See PyDev does not appear after install! below for details on how to fix that. At least one of:

    Python (2.2 or newer) Jython (2.2 or newer) IronPython (2.6 or newer) and

    Eclipse (3.8/4.3 onwards) Note if using Eclipse standalone: Python and IronPython require only the Platform Runtime Binary (download around 45-50 MB), and Jython also requires JDT.

    1. Make sure you have PyDev appears properly installed:

    2. Help menu

    3. Installation Details

    4. Plug-ins tab

    5. type pydev in the filter box (see below)

    6. check that PyDev is installed

    enter image description here

    If PyDev is not installed, and you have met the requirements, try installing it again from http://pydev.org/updates Update Site:

    1. Help menu
    2. Install New Software
    3. Put http://pydev.org/updates in the Work With box and press Enter (see screenshot below)
    4. Select PyDev in the list
    5. Complete the wizard
    6. Restart Eclipse when prompted, and voila (I hope!) you have PyDev working again.

    enter image description here

    If your problem is not resolved with the above, please provide more details in the question