PyDev not showing up in Eclipse - eclipse

I just installed Eclipse Kepler (after an issue with a faulty update in Juno) and tried to install PyDev using the Install New Software option in Eclipse. Basically just following memory/online tutorials. After installing I can't see it in my Preferences pane. Any ideas why that might be so?
Thanks.
Yes, I have Java 7 installed.
UPDATE: A lot of users have suggested numerous solutions to this problem. There may be more than one correct answer below. See what helps you...

Too much!
After wasting 4 hours trying to install PyDev 3, I moved back to 2.8.2 and used the drop in technique instead of Add new software and it now works!
Download 2.8.2 from sourceforge
http://sourceforge.net/projects/pydev/files/pydev/
Uninstall PyDev.
Simply unzip the contents into the dropins folder below eclipse.
Restart eclipse.

After struggling with this problem for some days I wanted to share my solution to the problem - inspired by the above posts (kudo's to them).
My Configuration:
MacBook Air (intel) with OS X 10.9
Eclipse: Kepler SR1 installed (zip file extracted in the Applications folder)
My situation:
Tried to install PyDev via Eclipse Help --> Install new software...
Installation was succesfull, but PyDev didn't show up anywhere in Eclipse.
My solution:
In Eclipse go to Help --> Install new software...
Uncheck "Show only the latest versions of available software"
Select PyDev the usual way, but install the latest 2.x version instead of the 3.x version
Apparently PyDev 3.0 does not work with the default OS X configuration of Eclipse, Java and Python (don't exactly know why, though...)

I just figured it out.
You will need JDK rather than a JRE.
Download it here first:JDK Download
Install it.
Explore /Applications/eclipse/Eclipse.app/Contents/MacOS (where you put your Eclipse)
Open eclipse.ini
add
-vm
/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/java
You will change the version according to your situation.
Enjoy!

It happened to me too, but using Debian stable (wheezy, in my case).
I solved installing doing:
# apt-get install openjdk-7-jdk
After this, I checked that I had two alternatives of Java JDK:
# update-java-alternatives -l
And the output was:
java-1.6.0-openjdk-amd64 1061 /usr/lib/jvm/java-1.6.0-openjdk-amd64
java-1.7.0-openjdk-amd64 1051 /usr/lib/jvm/java-1.7.0-openjdk-amd64
Finally, I did:
# update-java-alternatives -s java-1.7.0-openjdk-amd64
After that, I removed pydev plugin from Eclipse, reboot Eclipse, install pydev (using Marketplace), reboot Eclipse, and now it works.
Credits:
http://vas.davimas.name/2013/07/switching-between-openjdk-v6-and-v7-in.html and Richard's answer, above

Most likely you do not have java 7 or > eclipse 3.7 installed on your machine it is a requirement of pyDev 3 see here http://pydev.blogspot.co.uk/2013/11/pydev-30.html

The PyDev.org website states (http://pydev.org/manual_101_install.html) --
"""
Important requisite
PyDev now requires java 7 in order to run. If you don't have java 7, the update
process may appear to succeed, but PyDev will simply not show in the target
installation. Please double-check if you're using a java 7 vm in
about > installation details > configuration
before trying to install PyDev.
"""
This problem started to appear in my Eclipse after I removed the Java 7 runtime from my system (because the Java code I am building needs to run on an older version of Java, but that's unrelated). After I realized that I had lost PyDev, I reinstalled Java 7 and PyDev is working fine now.
Another option would be to rollback to the previous version of PyDev that does not require Java 7, but it would require a manual installation of PyDev and I would lose the convenience of automated updates. The best way forward, it seems, to run run Eclipse on Java 7 and switch those Java projects that need to depend explicitly on Java 6 to that JDK/JRE.

How I was able to get pydev to work in mac/eclipse is download the latest JDK as mention 100 times above install it and then do the following.
open eclipse choose preferences > java > installed JREs
click on "Search..." button it will auto populate the JDK 1.7 you just installed
Click ok
have a beer!
-Cheers!

Solved.
OSX Mavericks 10.9, Eclipse Keplar 4.3.2, PyDev 3.4
Problem: PyDev not showing up under Ecplise > preferences
Solution: Download, install and point Ecplise to JDK 1.7
Unistall PyDev
Under Eclipse > preferences > Installed JREs you probably only see Java SE 6
Download and install JDK 1.7 from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
open terminal and run "/usr/libexec/java_home -v 1.7"
this will return the directory in which JDK 1.7 reside, something like /Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home
Under Eclipse > preferences > Installed JREs click "add", select "MacOS X VM", click "next"
in JRE Home paste your version of /Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home, give it a name and click "Finish"
Restart Eclipse and re-install PyDev.
Voila!

I had the same issue on Luna and found my mistake.
After checking the author in "Do you trust these certificates?" page, and I was able to successfully install pydev.
The page lets you proceed without checking it, and no error occurs and it was where I totally missed. Maybe it is useful for someone.

You can move back to 2.x.x:
Eclipse -> About Eclipse then click "Installation Details" button.
From "Installation History" tab choose last installation.
Click Revert button.
You will go back to chosen installation.

I managed to get the following to work with Eclipse IDE for Java Developers 4.4.1 Luna on OS X 10.9.5 Mavericks:
Download and install the latest version of the JDK (currently Java SE 8u25) from http://www.oracle.com/technetwork/java/javase/downloads/index.html. (Not the JRE!)
Navigate to /Applications/eclipse/Eclipse.app/Contents/MacOS (or wherever you have Eclipse installed) and open eclipse.ini.
Append the following to the bottom of the file (be sure to replace the version number with yours):
-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java
Download the latest version of PyDev (currently 3.8.0) from SourceForge at http://sourceforge.net/projects/pydev/files/pydev/.
Unzip its contents to /Applications/eclipse/dropins (or wherever you have Eclipse installed) and restart Eclipse.
Hope this helps anyone who's still having the issue. Special thanks to Mohammed Lokhandwala and braineo.

Aha , It is solved just now.I show it in the following.
First , I use MyEclipse with jdk1.8,maybe some people dont know that Eclipse (or MyEclipse) has its own jvm , what is not "jdk" you downloaded and installed and the "built-in jvm" is default. You can check this out by clicking like this " Windows-->preferences-->Java-->Installed JREs" And I found my MyEclipse used the default jdk1.6 .Then I click "add" to build path of my installed jdk1.8 .
Second , I opened the configuration file named "myeclipse.ini" and check this in the following.
binary/com.sun.java.jdk.win32.x86_64_1.6.0.u43/bin/javaw.exe
Third , I replaced it with new path . Check the following out. It is new path.
D:/jdk/java/jdk1.8/bin/javaw.exe
Last , restart it .And you can find "PyDev" in "Preference".
Happy Coding with Python!
PS:Pycharm is good,and you can get it for free if you are a student or a teacher. click here

I was experiencing the same problem using java 1.7.0_101.
Updated to 1.8.0_91 and "voilá"! PyDev finally appeared.

After trying all of the listed ways to work with 1.7 I was still seeing error message when Eclipse tried to open the editors and navigators on startup. But when I created a new project it worked. Then I tried just closing all editors and reopening them and they too work. The navigator had also set itself to working set and showed nothing. When I switched that to projects it also started working.

The same thing happened to me. This is how i fixed it.
Click on "install new software" - it's under help.
Click on " what is already installed"
Uninstall PyDev
Reinstall PyDev BUT instead of the 3.3XX version, install the latest 2.XX version (i.e click on the drop down menu and select the latest 2.XX version)
It worked for me!

So I tired many of the suggestion above, and I think what finally got it to work is instal the JDK from: http://www.oracle.com/technetwork/java/javase/downloads/index.html. You might also need to uninstall the pydev plugin and reinstall it again. But after install the JDK 8, I got the Pydev to show up under preference.

menu Help > Install New Software...
don't fill "works with" but click on Add...
In the next screen, add the update site of PyDev and PyDev Extensions:
Name : PyDev and PyDev Extensions
Location: http://pydev.org/updates
and go on...

pydev 3 is buggy! Use 2.8 and you should be fine.

I also had this problem, wanted to use python3.4 as interpreter and it wasn't compatible with pydev 2.8 so after a few trials I found out that if you install pydev 2.5 everything works fine !! (At least on Eclipse Kepler).

I know this thread is old but I thought I might contribute my solution because none of the suggestions above worked for my Mac running Yosemite [10.10.2]. I hope this will be helpful to someone else. Despite updating to the latest JDK my mac kept reporting a wrong version. It turns out the symlink was point to the old version and fixing that issue got my pydev/eclipse working.
Find out the current default Java version
Java -version
Get installed versions
/usr/libexec/java_home -V
Navigate to the following folder and delete the current symlink
cd /System/Library/Frameworks/JavaVM.framework/Versions/
rm CurrentJDK
Create a new symlink pointing it to the newer installation substituting 'new-version' with appropriate version from 2 above. i.e jdk1.8.0_40.jdk
ln -s /Library/Java/JavaVirtualMachines/<new-version>/Contents/ CurrentJDK
Confirm your default version
Java -version
Restart.
Happy coding.. :)

I had to uninstall pyDev 3 and install 2.8 to get this working with Eclipse (V 4.4) and Yosemite (V 10.10)

The easiest way is just getting http://www.liclipse.com/ which has everything setup from the start... if you don't want to go that route (as LiClipse is commercial) you may want to try to specify the java 7 install manually:
Grabbed from http://pydev.org/download.html:
Well, the main issue at this time is that PyDev requires Java 7 in order to run. So, if you don't want to support PyDev by going the LiClipse route (which is mostly a PyDev standalone plus some goodies), you may have to go through some loops to make sure that you're actually using Java 7 to run Eclipse/PyDev (as explained below).
All OSes
Make sure you download/install the latest Java 7 JRE or JDK, try restarting to see if it got it automatically.
I.e.: in help > about > installation details > configuration check if it's actually using the java 7 version you pointed at.
If it didn't get it automatically, follow the instructions from:
http://wiki.eclipse.org/Eclipse.ini to add the -vm argument to eclipse.ini on "Specifying the JVM" to specify the java 7 vm.
Note on Mac OS: You can use the command "/usr/libexec/java_home -v 1.7" to get the base path for the JVM (though you also need to append "/bin/java" to the output of said command to the -vm arg in eclipse.ini).

Solution
Using standard Eclipse installation method:
In Install New Software, Add a new site to Work With. I called my entry PyDev Old and entered the Location:
https://dl.bintray.com/fabioz/pydev/old/site.xml
That has PyDev for Eclipse versions 2.8.2 to 4.5.3
Details
I am working with Indigo (3.7) and so need a version of PyDev that is older than 3.0.0. My JDK is 7 as noted elsewhere in this question. The option for Show only the latest versions of available software is turned off.
The standard advice for getting PyDev is to use http://pydev.org/updates and turn off the only latest option. That now only lists PyDev 5.

I had the same issue!
Just update all three SWs to the latest version and it will solve the problem.
Do like this:
update Eclipse to Luna Service Release 2 (4.4.2) 64-bit, then
PyDev - Python IDE for Eclipse 5.1.2 from Eclipse Marketplace and then
download and update the Java SE Development Kit 8u92 64-bit
It should work well now!

I had the same issue in Eclipse 4.4. Had to use a previous version of PyDev. It simply seems to be a matter of using the correct Java JRE/JDK and PyDev for the version of Eclipse you're running.
From http://www.pydev.org/
Release 5.2.0
Important PyDev now requires Java 8 and Eclipse 4.5 onwards.
PyDev 4.5.5 is the last release supporting Java 7 and Eclipse 3.8.
See: update sites page (http://www.pydev.org/update_sites/index.html) for the update site of older versions of PyDev.

Oct 2016:
Installed fresh new copy of Java JDK 1.8.0_102 took care of the incompatible OSX JRE 1.6
Installed fresh copy of Eclipse Neon 4.6.1
Followed pydev manual: http://www.pydev.org/manual_101_install.html
all working fine now...

First install and setup following applications as these are mentioned in above answers:
Jave (version 8 or greater)
Eclipse(version Neon/Oxygen or greater)
PyDev in Eclipse
Now go through following steps:
Eclipse -> Window -> Perspective -> Open Perspective -> Other..
Select PyDev in the list.
Click Open.
Now you are all set.
Cheers!!!

Make sure you install the 64-bit version of Eclipse if you can. If so you should be able to use the latest version of Pydev without any problem.

Related

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.
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
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.

FindBugs 3 not working in Eclipse Luna

I try to use the FindBugs 3.0.0 in my Eclipse Luna.
After installing it it should be available on context menu of my JavaProject and under Window -> Preferences -> Java -> Find Bugs.
But it isn't there.
I tried it with installation from Marktplace, Update Site and downloading the Zip and putting it into my Eclipse installation.
Is there anything else I have to do to make it run?
Greeting
Sören
I had the same problem. My eclipse run on JVM 6 and FindBugs didn't work. I switch eclipse to use JVM 7 and this fixed issue. For more info how to switch JVM version that eclipse uses, see this eclipse Wiki
My installation of FindBugs 3.0.0 in eclipse luna works fine but I´ve installed the 3.0.0.20140629 version.
As a colleague of me, has the same problem hence I am not going to update it :)
Try to install the earlier version (not using the eclipse marketplace), this should fix your issue in the meantime.

FindBugs Does Not Show Up in Project Properties

I had just installed FindBugs plugin for Eclipse. My Eclipse is Juno. I am using Windows 7.
It shows up at Help -> about Eclipse -> Installed Software as FindBugs Feature
However it does not exist on Project Properties.
I had tried to run eclipse as Administrator, installing from either marketplace or manual.
But no luck.
I use a copied Eclipse (without installation) at Desktop.
Any thought on how to shows the FindBugs in project properties?
Thanks
Just in case you haven't figured out yet, and so it might help others like me.
If you are installing a version of Eclipse FindBugs 3.0 or greater, then it's only supported on Java 7.
Update your JDK to 7.0 and you will see Findbugs show up as a part of your properties. Wasted a lot of hours on this one.
I had same problem. I am using Kepler + windows 7 + jdk1.5. This got resolved with jdk update from 1.5 to 1.7.
May be it has dependency on 1.7 but there was no error message and like you said it was not visible in preference.
Check out this tutorial:
http://www.vogella.com/tutorials/Findbugs/article.html
I am using Eclipse Kepler in Windows 7, but it shouldn't make any difference.
There is also a FindBugs entry in context menu (right click project, under Import and Export options, in my case)
Edit your eclipse.ini file (you can find it in your eclipse installation folder) and change or add (if it does not exist) the -vm parameter value to a Java 7 JDK. More info here.
All other answers (installing latest Java, Eclipse update, adding '-vm ...' to the .ini-file did not work for me.
I solved it by clicking "Window"->"Perspective"->"Open Perspective"->"Other..."->"FindBugs".
Then switch back to 'Java'-perspective. Now the menu is available when you right-click the project.

PyDev installation problems with Kepler and Mac OS

I have Eclipse (Kepler) installed on OS X and updated recently to Maverick. Since then I didn't start Eclipse. Yesterday I did and it told me that there are update available. I installed them, with the result that Eclipse didn't remember to have a perspective for PyDev.
I uninstalled PyDev, reinstalled it and since then it doesn't even appear in the preferences. I can uninstall it again, meaning Eclipse knows it is there, but there is simply no way to configure it.
Today I trashed the whole Eclipse, downloaded a fresh one and installed PyDev via the update site... Same story!
Has anybody the same problem on OS X?
Cheers, Tom
I've seen this on Windows 7, after a recent update to Eclipse Kepler and PyDev 3.0.x. The PyDev site states that the latest PyDev requires Java 7. If you don't have Java 7, use PyDev 2. (http://pydev.org/, under the "Release 3.0" title"). I'm using Java 6 to launch Eclipse.
I would check the versions of Java and PyDev you're running.
Not enough rep to comment on Gerry Kuhn's answer so I'll make a new one.
You can install java7 but retain your current version and not affect your current set up by specifying which JVM Eclipse should use using the command line -vm option.
All is explained here
Same problem on my Mac here with
Eclipse Version: Kepler Service Release 1
PyDev 3.0.0.201311051910 org.python.pydev.feature.feature.group
solved by using 2.x version
just download zip here and extracted folder in the dropin directory and restart is ok now
Thanks
I solved this problem by changing the eclipse.ini file.
I changed from this value
-vmargs
-Dosgi.requiredJavaVersion=1.6
to this value.
-vmargs
-Dosgi.requiredJavaVersion=1.7
But of course you must have jdk 7 installed previously.

Eclipse upgrade killed PyDev

I just upgraded my version of Eclipse on Ubuntu, and now whenever I open a Python file it opens in an external window, and the existing Python files I have open in Eclipse say "Could not open the editor: No editor descriptor for id org.python.pydev.editor.PythonEditor".
I tried uninstalling and reinstalling both Eclipse and the PyDev plugin, and it didn't fix the problem.
From my experience (~8 years) with eclipse don't do in place updates. Always install a fresh version with a new workspace. And re-checkout projects from SCM.
Check first whether all required plugins still work before switching to the new environment.
Make sure your Java version is correct (what your version of PyDev is expecting).
After I updated PyDev (5 min ago) I had the exact same error message displayed in the tabs where I once had python source files opened (No editor descriptor for id).
I updated my Java version from 1.7 to 1.8 with:
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Then to check your version, run:
java -version
You should see something like:
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) Server VM (build 25.91-b14, mixed mode)
Re-opened eclipse, and the PyDev plugin is working. Yay!
Actually, when you install Eclipse new version then new plugins are installed which lead to change in ubuntu libraries and installing again will not take effect until you install new plugin which is supported
I had same issue, when I updgradet PyDev with newest version 3.*. It needs java 1.7, but I have only java 1.6, so it does not work at all. I uninstalled it and set eclipse to old updating point, but nothing helped. Advise is to use PyDev versio 2.82. You can not find it from update repositories.
Only way is to download old version 2.8.2 from PyDev site, unzip that zip file to eclipse's drop in directory, in linux it is /usr/lib/eclipse/dropins. After unzipping you should see there features- and plugins-directories. And after some starting of eclipse, I could see PyDev again. At first restart of eclipse I could not see PyDev and tried "Check updates" and "Install new software" settind url to /usr/lib/eclipse/dropins but they did not see any software there. But trying to restart few times, old PyDevc 2.8.2 was in eclipse again. Huh.
I disabled PyDev from eclipses "check uopdates" so I don't make that error again, this machine will not get java 1.7 (Ubuntu 10.04 LTS).
I now ran into exactly the same problem when updating to PyDev 5.0 and its definitely an issue that the user is not warned that the program might break on update. However, the simplest solution is to install the new required Java and JRE version, for PyDev 5.0 that's Java 8 and OpenJDK 1.8 (on Linux), and tell Eclipse to actually use the new JRE in the eclipse.ini file, by pointing it to the right path. See https://wiki.eclipse.org/Eclipse.ini#Specifying_the_JVM on how to achieve this.