Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pydev Perspective Not Showing After Install For Eclipse

After installing the latest version of Pydev on eclipse it is not showing under the list of available perspectives.

Eclipse does however list pydev as being installed which seems weird to me. I would also like to add that I installed pydev through the standard method (Through the "install new software" option under help).

Any help on how to resolve this would be greatly appreciated.

like image 499
crazyCoder Avatar asked Nov 10 '13 20:11

crazyCoder


People also ask

Why is PyDev not showing in eclipse?

it seems that you installed pydev with wrong version. remember check your java version(by typing java -version in console). if it says 1.6. X, then you should NOT check "Show only the latest versions of available softerware" option in the first popup window after "Help->Install New Software" clicked.

How do I know if PyDev is installed?

You can verify if it is correctly installed going to the menu 'window > preferences' and checking if there is a PyDev item under that.


2 Answers

I spent hours trying to get PyDev 3.0.0 plugin working with Eclipse Kepler on my mac. I tried

  1. Marketplace installation
  2. Install Software through Update Site
  3. Dropping plugin files under eclipse/dropins

Nothing worked until I finally tried version 2.8.2 of the plugin. I would say get a zip of 2.8.2 from here and put the unzippied version in your /dropins folder of Eclipse. Restart Eclipse. Then go to the preference menu and notice PyDev entry should be there. Sometime it is better to start the Eclipse with admin credentials. Something like this on command line:

sudo /Users/username/Softwares/eclipse/Eclipse.app/Contents/MacOS/eclipse 
like image 121
nabster Avatar answered Oct 01 '22 08:10

nabster


First things first, go to pydev offcial page, it stated:

See: the PyDev does not appear after install section on the download page for help on using a Java 8 vm in Eclipse.

Visits this page, it shows:

Well, the main issue at this time is that PyDev requires Java 8 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 8 to run Eclipse/PyDev (as explained below).

Also, keep in mind that PyDev 5.x requires Eclipse 4.6 onwards (for Eclipse 3.8 use PyDev 4.x).

In my system:

$ java -version openjdk version "1.8.0_102" OpenJDK Runtime Environment (build 1.8.0_102-8u102-b14.1-2-b14) OpenJDK 64-Bit Server VM (build 25.102-b14, mixed mode) 

According to this answer

Java 8 (a.k.a 1.8)

So my openJDK 1.8 is Java 8 already met the requirement stated from the pydev statement above. So it's not Java problem in my case.

Recall the pydev last statement:

Also, keep in mind that PyDev 5.x requires Eclipse 4.6 onwards (for Eclipse 3.8 use PyDev 4.x).

So I check my eclipse version, it's merely old version 3.8.1:

enter image description here

But what I've downloaded is latest version pydev 5.3.0, which is wrong, so now what I have to do is follow this instruction to uninstall pydev 5.3.0 first:

enter image description here

Use Shift key to highlight both and uninstall:

enter image description here

After uninstalled, visits this page to copy the old repo link:

enter image description here

Recall the pydev last statement again:

Also, keep in mind that PyDev 5.x requires Eclipse 4.6 onwards (for Eclipse 3.8 use PyDev 4.x).

My eclipse is 3.8.1, so I just have to choose 4.x. The highest version of 4.x listed above is 4.5.5.

I copy the link http://www.pydev.org/update_sites/4.5.5 and paste into eclipse's Install New Software page to install:

enter image description here

After all, Windows -> Preferences, pydev is showing up now:

enter image description here

like image 34
林果皞 Avatar answered Oct 01 '22 08:10

林果皞