'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 1:[1]
Update Java 11 now required for PyDev. Rest of answer preserved as still relevant.
Two things to check:
- 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.
Make sure you have PyDev appears properly installed:
Help menu
Installation Details
Plug-ins tab
type
pydev
in the filter box (see below)check that PyDev is installed
If PyDev is not installed, and you have met the requirements, try installing it again from http://pydev.org/updates Update Site:
- Help menu
- Install New Software
- Put
http://pydev.org/updates
in the Work With box and press Enter (see screenshot below) - Select PyDev in the list
- Complete the wizard
- Restart Eclipse when prompted, and voila (I hope!) you have PyDev working again.
If your problem is not resolved with the above, please provide more details in the question
Solution 2:[2]
Currently (January 2022) the update the eclipse to the newest https://download.eclipse.org/releases/2021-12/ and https://download.eclipse.org/releases/latest helped, but also Java 11 (I'm using Oracle Java at Ubuntu 18) was required. At the webpage of PyDev the minimal versions are given.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | |
Solution 2 |