Pydev Not Recognized in Eclipse

后端 未结 9 1610
心在旅途
心在旅途 2021-01-01 13:27

I\'ve been using PyDev within Eclipse on my Mac for about two years now. Updated Eclipse today, and suddenly PyDev is completely missing. Tried everything, included a comple

相关标签:
9条回答
  • 2021-01-01 13:28

    If you can't / will not upgrade to Java 7:

    Uninstall latest PyDev version
    1. Help >> About Eclipse
    2. Press button "Installation Details"
    3. Select "PyDev for Eclipse"
    4. Press button "Uninstall..."
    5. Close, OK

    Install version 2.8.2
    1. Help >> Install New Software...
    2. select in drop-down list "Work with:" PyDev Update Site - http://pydev.org/updates/
    3. De-select option "Show only the latest versions of available software"
    4. Select "PyDev for Eclipse, version 2.8.2"
    5. Press button "Next>"
    6. ...
    n. Restart Eclipse (as proposed)

    0 讨论(0)
  • 2021-01-01 13:38

    Not enough rep to comment on Tobx'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

    0 讨论(0)
  • 2021-01-01 13:41

    To see what the problem is, I upgraded from PyDev 2.8.2 to 3.0.0 just for this. It caused me a world of hurt. That version is filled with bugs. Nothing is working for me, including the perspectives or the debugger. I just went back to 2.8.2 and all is well again. I am also on Kepler and Mac. Go to 2.8.2. YOu can uninstall pydev using eclipse, then simply install pydev using the easy zip file instructions here: http://pydev.org/manual_101_install.html.

    3.0.0 was just released yesterday. They obviously have some fixing to do!

    0 讨论(0)
  • 2021-01-01 13:46

    The following solved the problem for me, on OS X Mavericks 10.9.2 initially with Java 1.7.0_55 (from Oracle, the standard Mavericks install I think, fully up to date)

    • check the available Java virtual machines using the terminal :

    /usr/libexec/java_home -V

    I initially only had Java 1.6 listed here (a similar check from within Eclipse also confirmed that it was running 1.6, not the available 1.7 !)

    • following posts suggesting that I had the Java 7 JRE but not the JDK, I installed the JDK from Oracle : http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

    • then checked again /usr/libexec/java_home -V ... and hurrah! 1.7 showing up !

    • Restarted Eclipse... didn't change anything else : the previously installed PyDev started to work (just had to re-open files in the editor)

    0 讨论(0)
  • 2021-01-01 13:46

    I debugged a python project (imported before). The Pydev menu has reappeared by only changing the current perspective to "Debug".

    I think opening the Pydev perspective through Window > Open Perspective > Other ... > Pydev would also create the Pydev menu.

    0 讨论(0)
  • 2021-01-01 13:47

    It seems a lot of PyDev/Eclipse issues are 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.

    0 讨论(0)
提交回复
热议问题