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?
我刚刚安装了Eclipse Kepler(在Juno有一个错误更新的问题之后),并试图在Eclipse中使用安装新的软件选项安装PyDev。基本上就是跟随记忆/在线教程。安装后,我无法在Preferences面板中看到它。有什么想法吗?
Thanks.
谢谢。
Yes, I have Java 7 installed.
是的,我安装了Java 7。
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...
更新:许多用户提出了许多解决这个问题的方法。下面可能有不止一个正确答案。看看帮助你…
28 个解决方案
#1
43
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!
在试图安装PyDev 3时浪费了4个小时之后,我回到了2.8.2,并使用了drop in技术,而不是添加新的软件,现在它可以工作了!
Download 2.8.2 from sourceforge http://sourceforge.net/projects/pydev/files/pydev/
从sourceforge http://sourceforge.net/projects/pydev/files/pydev/下载2.8.2。
Uninstall PyDev. Simply unzip the contents into the dropins folder below eclipse. Restart eclipse.
卸载PyDev中。只需将内容解压缩到eclipse下面的dropins文件夹中。重新启动eclipse。
#2
43
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).
在与这个问题斗争了几天之后,我想分享我对这个问题的解决方案——灵感来自于上面的帖子(kudo’s to them)。
My Configuration:
我的配置:
- MacBook Air (intel) with OS X 10.9
- MacBook Air(英特尔),OS X 10.9。
- Eclipse: Kepler SR1 installed (zip file extracted in the Applications folder)
- Eclipse: Kepler SR1安装(在应用程序文件夹中提取的zip文件)
My situation:
我的情况:
Tried to install PyDev via Eclipse Help
--> Install new software...
Installation was succesfull, but PyDev didn't show up anywhere in Eclipse.
试图通过Eclipse帮助安装PyDev——>安装新软件…安装成功了,但是PyDev在Eclipse中没有出现。
My solution:
我的解决方案:
- In Eclipse go to
Help
-->Install new software...
- 在Eclipse中提供帮助——>安装新软件……
-
Uncheck "
Show only the latest versions of available software
" - Uncheck“只显示可用软件的最新版本”
- Select PyDev the usual way, but install the latest 2.x version instead of the 3.x version
- 选择PyDev通常的方式,但安装最新的2。而不是3。x版本
Apparently PyDev 3.0 does not work with the default OS X configuration of Eclipse, Java and Python (don't exactly know why, though...)
显然,PyDev 3.0与Eclipse、Java和Python的默认OS X配置不兼容(不知道为什么,但是…)
#3
14
I just figured it out. You will need JDK rather than a JRE.
我刚想出来。您将需要JDK而不是JRE。
-
Download it here first:JDK Download
首先在这里下载:JDK下载。
-
Install it.
安装它。
-
Explore /Applications/eclipse/Eclipse.app/Contents/MacOS (where you put your Eclipse)
探索/应用程序/ eclipse / eclipse。应用程序/内容/MacOS(您将Eclipse放在哪里)
-
Open eclipse.ini
打开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!
你会根据你的情况改变版本。享受吧!
#4
9
It happened to me too, but using Debian stable (wheezy, in my case).
这也发生在我身上,但用的是Debian(在我的例子中是wheezy)。
I solved installing doing:
我解决了安装:
# apt-get install openjdk-7-jdk
After this, I checked that I had two alternatives of Java JDK:
在此之后,我检查了我有两种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.
在那之后,我从Eclipse中删除了pydev插件,重新启动Eclipse,安装pydev(使用Marketplace),重新启动Eclipse,现在它开始工作了。
Credits: http://vas.davimas.name/2013/07/switching-between-openjdk-v6-and-v7-in.html and Richard's answer, above
以下是openjdk-v6- v7-in.html和Richard的答案。
#5
5
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
大多数情况下,您的机器上没有安装java 7或>的eclipse 3.7,这是pyDev 3的一个需求,请参见这里http://pydev.blogspot.co.uk/2013/11/pydev-30.html。
#6
3
The PyDev.org website states (http://pydev.org/manual_101_install.html) --
PyDev.org网站上的声明_101_。
"""
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.
在我从我的系统中删除Java 7运行时之后,这个问题开始出现在我的Eclipse中(因为我正在构建的Java代码需要在旧版本的Java上运行,但这是不相关的)。在我意识到我丢失了PyDev之后,我重新安装了Java 7,而PyDev现在运行良好。
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.
另一种选择是回滚到以前版本的PyDev,它不需要Java 7,但是需要手动安装PyDev,我就会失去自动更新的便利。看起来,最好的方法是在Java 7上运行Eclipse,并切换那些需要在Java 6上显式依赖于JDK/JRE的Java项目。
#7
3
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.
如何让pydev在mac/eclipse中工作,可以下载最新的JDK,在安装之前提到100次,然后执行以下操作。
- open eclipse choose preferences > java > installed JREs
- open eclipse选择首选项> java >安装了JREs。
- click on "Search..." button it will auto populate the JDK 1.7 you just installed
- 单击“Search…”按钮,它将自动填充您刚刚安装的JDK 1.7。
- Click ok
- 单击ok
- have a beer!
- 喝点啤酒!
-Cheers!
干杯!
#8
3
Solved.
解决了。
OSX Mavericks 10.9, Eclipse Keplar 4.3.2, PyDev 3.4
OSX Mavericks 10.9, Eclipse Keplar 4.3.2, PyDev 3.4。
Problem: PyDev not showing up under Ecplise > preferences
问题:PyDev不显示在Ecplise >首选项下。
Solution: Download, install and point Ecplise to JDK 1.7
解决方案:下载、安装和点Ecplise到JDK 1.7。
- Unistall PyDev
- Unistall PyDev中
- Under Eclipse > preferences > Installed JREs you probably only see Java SE 6
- 在Eclipse >首选项下,>安装了JREs,您可能只看到了Java SE 6。
- Download and install JDK 1.7 from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
- 从http://www.oracle.com/technetwork/java/javase/downloads/jdk7- Download -1880260.html下载并安装JDK 1.7。
-
open terminal and run "/usr/libexec/java_home -v 1.7"
打开终端,运行“/usr/libexec/java_home - v1.7”
this will return the directory in which JDK 1.7 reside, something like /Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home
这将返回JDK 1.7驻留的目录,类似/Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home。
-
Under Eclipse > preferences > Installed JREs click "add", select "MacOS X VM", click "next"
在Eclipse >首选项下,>安装了JREs点击“添加”,选择“MacOS X VM”,点击“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"
- 在JRE Home粘贴您的版本的/库/Java/JavaVirtualMachines/jdk1.7.0_55。jdk/Contents/Home,给它一个名称,然后点击“Finish”
- Restart Eclipse and re-install PyDev.
- 重新启动Eclipse并重新安装PyDev。
Voila!
瞧!
#9
2
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.
在“您信任这些证书吗?”页面检查了作者之后,我成功地安装了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.
页面允许您在不检查它的情况下进行,并且没有发生错误,这是我完全没有注意到的地方。也许它对某人有用。
#10
1
You can move back to 2.x.x:
你可以回到2。x。x:
- Eclipse -> About Eclipse then click "Installation Details" button.
- 关于Eclipse的Eclipse ->,然后单击“安装详细信息”按钮。
- From "Installation History" tab choose last installation.
- 从“安装历史”选项卡选择最后安装。
- Click Revert button.
- 点击恢复按钮。
You will go back to chosen installation.
您将返回到所选择的安装。
#11
1
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:
我成功地得到了下面的工作,为Java开发人员使用Eclipse IDE,在OS X 10.9.5 Mavericks上使用了4.4.1 Luna:
-
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!)
下载并安装最新版本的JDK(当前Java SE 8u25),从http://www.oracle.com/technetwork/java/javase/downloads/index.html。(不是JRE !)
-
Navigate to /Applications/eclipse/Eclipse.app/Contents/MacOS (or wherever you have Eclipse installed) and open eclipse.ini.
导航到/应用程序/ eclipse / eclipse。应用程序/内容/MacOS(或任何您安装Eclipse的地方)和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/.
从SourceForge上下载最新版本的PyDev(目前为3.8.0),网址是http://sourceforge.net/projects/pydev/files/pydev/。
-
Unzip its contents to /Applications/eclipse/dropins (or wherever you have Eclipse installed) and restart Eclipse.
将其内容解压到/应用程序/eclipse/dropins(或任何安装eclipse的地方)并重新启动eclipse。
Hope this helps anyone who's still having the issue. Special thanks to Mohammed Lokhandwala and braineo.
希望这能帮助那些仍然有问题的人。特别感谢Mohammed Lokhandwala和braineo。
#12
1
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 .
首先,我使用MyEclipse和jdk1.8,可能有些人不知道Eclipse(或MyEclipse)有自己的jvm,您下载并安装的“jdk”不是“jdk”,默认的是“内置jvm”。您可以通过单击“Windows——>首选项——>Java——>安装JREs”来检查这个问题,我发现MyEclipse使用了默认的jdk1.6,然后单击“add”构建我安装的jdk1.8的路径。
Second , I opened the configuration file named "myeclipse.ini" and check this in the following.
其次,我打开了名为“myeclipse”的配置文件。并在下面检查这个。
binary/com.sun.java.jdk.win32.x86_64_1.6.0.u43/bin/javaw.exe
二进制/ 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".
最后,重新启动它。你可以在“偏好”中找到“PyDev”。
Happy Coding with Python!
编码与Python快乐!
PS:Pycharm is good,and you can get it for free if you are a student or a teacher. click here
PS:Pycharm是好的,你可以免费得到它,如果你是一个学生或老师。点击这里
#13
1
I was experiencing the same problem using java 1.7.0_101. Updated to 1.8.0_91 and "voilá"! PyDev finally appeared.
我使用java 1.7.0_101也遇到了同样的问题。更新到1.8.0_91和“voila”!PyDev中终于出现了。
#14
0
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.
在尝试了所有列出的方法之后,我仍然看到了错误消息,Eclipse试图在启动时打开编辑器和导航器。但当我创建一个新项目时,它起作用了。然后我试着关闭所有编辑器,重新打开它们,它们也起作用了。导航器也设置为工作集,并且没有显示任何内容。当我把它转换成项目时,它也开始工作了。
#15
0
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
- 卸载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) - 重新安装PyDev而不是3.3XX版本,安装最新的2。(我XX版本。单击下拉菜单,选择最新的2。XX版)
It worked for me!
它为我工作!
#16
0
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.
因此,我厌倦了上面的许多建议,我认为最终使它起作用的是JDK的instal: http://www.oracle.com/technetwork/java/javase/downloads/index.html。您可能还需要卸载pydev插件并重新安装它。但是在安装JDK 8之后,我让Pydev在首选项下显示。
#17
0
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和PyDev扩展的更新站点:名称:PyDev和PyDev扩展位置:http://pydev.org/updates并继续…
#18
0
pydev 3 is buggy! Use 2.8 and you should be fine.
pydev中3车!使用2.8,你应该没问题。
#19
0
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).
我也有这个问题,想用python3.4作为解释器,它和pydev 2.8不兼容,所以经过几次试验之后,我发现如果安装pydev 2.5,一切都没问题!!(至少在Eclipse开普勒上)。
#20
0
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.
我知道这条线很旧,但我想我可能会贡献我的解决方案,因为上面的建议都没有为我的Mac运行Yosemite[10.10.2]。我希望这对其他人有帮助。尽管更新到最新的JDK,我的mac一直报告错误的版本。原来的符号链接指向旧版本,修复这个问题使我的pydev/eclipse工作。
-
Find out the current default Java version
找到当前的默认Java版本。
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
创建一个新的符号链接,将其指向较新的安装,将“新版本”替换为上面的2个版本。我。e jdk1.8.0_40.jdk
ln -s /Library/Java/JavaVirtualMachines/<new-version>/Contents/ CurrentJDK
-
Confirm your default version
确认您的默认版本
Java -version
-
Restart.
重新启动。
Happy coding.. :)
编码快乐. .:)
#21
0
I had to uninstall pyDev 3 and install 2.8 to get this working with Eclipse (V 4.4) and Yosemite (V 10.10)
我必须卸载pyDev 3并安装2.8以使其与Eclipse (v4.4)和Yosemite (v10.10)一起工作。
#22
0
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:
最简单的方法就是获取http://www.liclipse.com/,它从一开始就拥有一切。如果您不想走那条路线(因为LiClipse是商业性的),您可能想要手动指定java 7安装:
Grabbed from http://pydev.org/download.html:
抓住从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).
这个时候的主要问题是PyDev需要Java 7才能运行。因此,如果您不希望通过LiClipse路由(主要是PyDev独立加上一些好东西)来支持PyDev,那么您可能需要通过一些循环来确保您实际使用Java 7来运行Eclipse/PyDev(如下所述)。
All OSes
所有操作系统
Make sure you download/install the latest Java 7 JRE or JDK, try restarting to see if it got it automatically.
确保您下载/安装最新的Java 7 JRE或JDK,尝试重新开始,看看它是否自动得到它。
I.e.: in help > about > installation details > configuration check if it's actually using the java 7 version you pointed at.
即。:在帮助>关于>安装详细信息>配置检查如果它实际使用java 7版本你指出。
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.
将-vm参数添加到eclipse中。ini在“指定JVM”中指定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).
在Mac OS上注意:您可以使用命令“/usr/libexec/java_home - v1.7”来获取JVM的基本路径(尽管您还需要将“/bin/java”附加到“在eclipse.ini中对-vm arg的命令输出”)。
#23
0
Solution
Using standard Eclipse installation method:
使用标准的Eclipse安装方法:
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
https://dl.bintray.com/fabioz/pydev/old/site.xml
That has PyDev for Eclipse versions 2.8.2 to 4.5.3
它的PyDev版本为2.8.2到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.
我正在与Indigo(3.7)合作,因此需要一个比3.0.0大的PyDev版本。我的JDK 7在这个问题的其他地方都有提到。只显示最新版本的可用软件的选项被关闭。
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.
获取PyDev的标准建议是使用http://pydev.org/updates并关闭唯一的最新选项。现在只列出了PyDev 5。
#24
0
I had the same issue!
我也有同样的问题!
Just update all three SWs to the latest version and it will solve the problem.
只要把这三个SWs更新到最新版本,就能解决问题。
Do like this:
这样做:
- update Eclipse to Luna Service Release 2 (4.4.2) 64-bit, then
- 然后,将Eclipse更新到Luna服务版本2(4.4.2)。
- PyDev - Python IDE for Eclipse 5.1.2 from Eclipse Marketplace and then
- PyDev—从Eclipse市场到Eclipse 5.1.2的Python IDE。
- download and update the Java SE Development Kit 8u92 64-bit
- 下载并更新Java SE开发套件8u92 64位。
It should work well now!
它现在应该很好!
#25
0
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.
在Eclipse 4.4中也有同样的问题。必须使用以前版本的PyDev。这似乎只是使用正确的Java JRE/JDK和PyDev来实现您正在运行的Eclipse版本的问题。
从http://www.pydev.org/
Release 5.2.0
释放5.2.0
Important PyDev now requires Java 8 and Eclipse 4.5 onwards.
重要的PyDev现在需要Java 8和Eclipse 4.5。
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.
PyDev 4.5.5是支持Java 7和Eclipse 3.8的最后版本。请参见:更新站点页面(http://www.pydev.org/update_sites/index.html),以便更新PyDev的旧版本。
#26
0
Oct 2016:
2016年10月:
- Installed fresh new copy of Java JDK 1.8.0_102 took care of the incompatible OSX JRE 1.6
- 安装了新的Java JDK 1.8.0_102的新副本,处理了不兼容的OSX JRE 1.6。
- Installed fresh copy of Eclipse Neon 4.6.1
- 安装了Eclipse氖4.6.1的新副本。
- Followed pydev manual: http://www.pydev.org/manual_101_install.html
- 随后pydev中手动:http://www.pydev.org/manual_101_install.html
all working fine now...
现在工作好…
#27
0
First install and setup following applications as these are mentioned in above answers:
首先安装和安装以下应用程序,如下所述:
- Jave (version 8 or greater)
- Jave(版本8或更大)
- Eclipse(version Neon/Oxygen or greater)
- Eclipse(霓虹灯/氧气或更高版本)
- PyDev in Eclipse
- 在Eclipse的PyDev中
Now go through following steps:
现在,通过以下步骤:
- Eclipse -> Window -> Perspective -> Open Perspective -> Other..
- Eclipse ->窗口->透视图->开放透视图->。
- Select PyDev in the list.
- 在列表中选择PyDev。
- Click Open.
- 单击Open。
Now you are all set.
现在你们都准备好了。
Cheers!!!
干杯! ! !
#28
-1
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.
如果可以,请确保安装了64位版本的Eclipse。如果是这样的话,您应该能够使用最新版本的Pydev而没有任何问题。
#1
43
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!
在试图安装PyDev 3时浪费了4个小时之后,我回到了2.8.2,并使用了drop in技术,而不是添加新的软件,现在它可以工作了!
Download 2.8.2 from sourceforge http://sourceforge.net/projects/pydev/files/pydev/
从sourceforge http://sourceforge.net/projects/pydev/files/pydev/下载2.8.2。
Uninstall PyDev. Simply unzip the contents into the dropins folder below eclipse. Restart eclipse.
卸载PyDev中。只需将内容解压缩到eclipse下面的dropins文件夹中。重新启动eclipse。
#2
43
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).
在与这个问题斗争了几天之后,我想分享我对这个问题的解决方案——灵感来自于上面的帖子(kudo’s to them)。
My Configuration:
我的配置:
- MacBook Air (intel) with OS X 10.9
- MacBook Air(英特尔),OS X 10.9。
- Eclipse: Kepler SR1 installed (zip file extracted in the Applications folder)
- Eclipse: Kepler SR1安装(在应用程序文件夹中提取的zip文件)
My situation:
我的情况:
Tried to install PyDev via Eclipse Help
--> Install new software...
Installation was succesfull, but PyDev didn't show up anywhere in Eclipse.
试图通过Eclipse帮助安装PyDev——>安装新软件…安装成功了,但是PyDev在Eclipse中没有出现。
My solution:
我的解决方案:
- In Eclipse go to
Help
-->Install new software...
- 在Eclipse中提供帮助——>安装新软件……
-
Uncheck "
Show only the latest versions of available software
" - Uncheck“只显示可用软件的最新版本”
- Select PyDev the usual way, but install the latest 2.x version instead of the 3.x version
- 选择PyDev通常的方式,但安装最新的2。而不是3。x版本
Apparently PyDev 3.0 does not work with the default OS X configuration of Eclipse, Java and Python (don't exactly know why, though...)
显然,PyDev 3.0与Eclipse、Java和Python的默认OS X配置不兼容(不知道为什么,但是…)
#3
14
I just figured it out. You will need JDK rather than a JRE.
我刚想出来。您将需要JDK而不是JRE。
-
Download it here first:JDK Download
首先在这里下载:JDK下载。
-
Install it.
安装它。
-
Explore /Applications/eclipse/Eclipse.app/Contents/MacOS (where you put your Eclipse)
探索/应用程序/ eclipse / eclipse。应用程序/内容/MacOS(您将Eclipse放在哪里)
-
Open eclipse.ini
打开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!
你会根据你的情况改变版本。享受吧!
#4
9
It happened to me too, but using Debian stable (wheezy, in my case).
这也发生在我身上,但用的是Debian(在我的例子中是wheezy)。
I solved installing doing:
我解决了安装:
# apt-get install openjdk-7-jdk
After this, I checked that I had two alternatives of Java JDK:
在此之后,我检查了我有两种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.
在那之后,我从Eclipse中删除了pydev插件,重新启动Eclipse,安装pydev(使用Marketplace),重新启动Eclipse,现在它开始工作了。
Credits: http://vas.davimas.name/2013/07/switching-between-openjdk-v6-and-v7-in.html and Richard's answer, above
以下是openjdk-v6- v7-in.html和Richard的答案。
#5
5
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
大多数情况下,您的机器上没有安装java 7或>的eclipse 3.7,这是pyDev 3的一个需求,请参见这里http://pydev.blogspot.co.uk/2013/11/pydev-30.html。
#6
3
The PyDev.org website states (http://pydev.org/manual_101_install.html) --
PyDev.org网站上的声明_101_。
"""
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.
在我从我的系统中删除Java 7运行时之后,这个问题开始出现在我的Eclipse中(因为我正在构建的Java代码需要在旧版本的Java上运行,但这是不相关的)。在我意识到我丢失了PyDev之后,我重新安装了Java 7,而PyDev现在运行良好。
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.
另一种选择是回滚到以前版本的PyDev,它不需要Java 7,但是需要手动安装PyDev,我就会失去自动更新的便利。看起来,最好的方法是在Java 7上运行Eclipse,并切换那些需要在Java 6上显式依赖于JDK/JRE的Java项目。
#7
3
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.
如何让pydev在mac/eclipse中工作,可以下载最新的JDK,在安装之前提到100次,然后执行以下操作。
- open eclipse choose preferences > java > installed JREs
- open eclipse选择首选项> java >安装了JREs。
- click on "Search..." button it will auto populate the JDK 1.7 you just installed
- 单击“Search…”按钮,它将自动填充您刚刚安装的JDK 1.7。
- Click ok
- 单击ok
- have a beer!
- 喝点啤酒!
-Cheers!
干杯!
#8
3
Solved.
解决了。
OSX Mavericks 10.9, Eclipse Keplar 4.3.2, PyDev 3.4
OSX Mavericks 10.9, Eclipse Keplar 4.3.2, PyDev 3.4。
Problem: PyDev not showing up under Ecplise > preferences
问题:PyDev不显示在Ecplise >首选项下。
Solution: Download, install and point Ecplise to JDK 1.7
解决方案:下载、安装和点Ecplise到JDK 1.7。
- Unistall PyDev
- Unistall PyDev中
- Under Eclipse > preferences > Installed JREs you probably only see Java SE 6
- 在Eclipse >首选项下,>安装了JREs,您可能只看到了Java SE 6。
- Download and install JDK 1.7 from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
- 从http://www.oracle.com/technetwork/java/javase/downloads/jdk7- Download -1880260.html下载并安装JDK 1.7。
-
open terminal and run "/usr/libexec/java_home -v 1.7"
打开终端,运行“/usr/libexec/java_home - v1.7”
this will return the directory in which JDK 1.7 reside, something like /Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home
这将返回JDK 1.7驻留的目录,类似/Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home。
-
Under Eclipse > preferences > Installed JREs click "add", select "MacOS X VM", click "next"
在Eclipse >首选项下,>安装了JREs点击“添加”,选择“MacOS X VM”,点击“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"
- 在JRE Home粘贴您的版本的/库/Java/JavaVirtualMachines/jdk1.7.0_55。jdk/Contents/Home,给它一个名称,然后点击“Finish”
- Restart Eclipse and re-install PyDev.
- 重新启动Eclipse并重新安装PyDev。
Voila!
瞧!
#9
2
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.
在“您信任这些证书吗?”页面检查了作者之后,我成功地安装了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.
页面允许您在不检查它的情况下进行,并且没有发生错误,这是我完全没有注意到的地方。也许它对某人有用。
#10
1
You can move back to 2.x.x:
你可以回到2。x。x:
- Eclipse -> About Eclipse then click "Installation Details" button.
- 关于Eclipse的Eclipse ->,然后单击“安装详细信息”按钮。
- From "Installation History" tab choose last installation.
- 从“安装历史”选项卡选择最后安装。
- Click Revert button.
- 点击恢复按钮。
You will go back to chosen installation.
您将返回到所选择的安装。
#11
1
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:
我成功地得到了下面的工作,为Java开发人员使用Eclipse IDE,在OS X 10.9.5 Mavericks上使用了4.4.1 Luna:
-
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!)
下载并安装最新版本的JDK(当前Java SE 8u25),从http://www.oracle.com/technetwork/java/javase/downloads/index.html。(不是JRE !)
-
Navigate to /Applications/eclipse/Eclipse.app/Contents/MacOS (or wherever you have Eclipse installed) and open eclipse.ini.
导航到/应用程序/ eclipse / eclipse。应用程序/内容/MacOS(或任何您安装Eclipse的地方)和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/.
从SourceForge上下载最新版本的PyDev(目前为3.8.0),网址是http://sourceforge.net/projects/pydev/files/pydev/。
-
Unzip its contents to /Applications/eclipse/dropins (or wherever you have Eclipse installed) and restart Eclipse.
将其内容解压到/应用程序/eclipse/dropins(或任何安装eclipse的地方)并重新启动eclipse。
Hope this helps anyone who's still having the issue. Special thanks to Mohammed Lokhandwala and braineo.
希望这能帮助那些仍然有问题的人。特别感谢Mohammed Lokhandwala和braineo。
#12
1
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 .
首先,我使用MyEclipse和jdk1.8,可能有些人不知道Eclipse(或MyEclipse)有自己的jvm,您下载并安装的“jdk”不是“jdk”,默认的是“内置jvm”。您可以通过单击“Windows——>首选项——>Java——>安装JREs”来检查这个问题,我发现MyEclipse使用了默认的jdk1.6,然后单击“add”构建我安装的jdk1.8的路径。
Second , I opened the configuration file named "myeclipse.ini" and check this in the following.
其次,我打开了名为“myeclipse”的配置文件。并在下面检查这个。
binary/com.sun.java.jdk.win32.x86_64_1.6.0.u43/bin/javaw.exe
二进制/ 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".
最后,重新启动它。你可以在“偏好”中找到“PyDev”。
Happy Coding with Python!
编码与Python快乐!
PS:Pycharm is good,and you can get it for free if you are a student or a teacher. click here
PS:Pycharm是好的,你可以免费得到它,如果你是一个学生或老师。点击这里
#13
1
I was experiencing the same problem using java 1.7.0_101. Updated to 1.8.0_91 and "voilá"! PyDev finally appeared.
我使用java 1.7.0_101也遇到了同样的问题。更新到1.8.0_91和“voila”!PyDev中终于出现了。
#14
0
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.
在尝试了所有列出的方法之后,我仍然看到了错误消息,Eclipse试图在启动时打开编辑器和导航器。但当我创建一个新项目时,它起作用了。然后我试着关闭所有编辑器,重新打开它们,它们也起作用了。导航器也设置为工作集,并且没有显示任何内容。当我把它转换成项目时,它也开始工作了。
#15
0
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
- 卸载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) - 重新安装PyDev而不是3.3XX版本,安装最新的2。(我XX版本。单击下拉菜单,选择最新的2。XX版)
It worked for me!
它为我工作!
#16
0
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.
因此,我厌倦了上面的许多建议,我认为最终使它起作用的是JDK的instal: http://www.oracle.com/technetwork/java/javase/downloads/index.html。您可能还需要卸载pydev插件并重新安装它。但是在安装JDK 8之后,我让Pydev在首选项下显示。
#17
0
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和PyDev扩展的更新站点:名称:PyDev和PyDev扩展位置:http://pydev.org/updates并继续…
#18
0
pydev 3 is buggy! Use 2.8 and you should be fine.
pydev中3车!使用2.8,你应该没问题。
#19
0
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).
我也有这个问题,想用python3.4作为解释器,它和pydev 2.8不兼容,所以经过几次试验之后,我发现如果安装pydev 2.5,一切都没问题!!(至少在Eclipse开普勒上)。
#20
0
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.
我知道这条线很旧,但我想我可能会贡献我的解决方案,因为上面的建议都没有为我的Mac运行Yosemite[10.10.2]。我希望这对其他人有帮助。尽管更新到最新的JDK,我的mac一直报告错误的版本。原来的符号链接指向旧版本,修复这个问题使我的pydev/eclipse工作。
-
Find out the current default Java version
找到当前的默认Java版本。
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
创建一个新的符号链接,将其指向较新的安装,将“新版本”替换为上面的2个版本。我。e jdk1.8.0_40.jdk
ln -s /Library/Java/JavaVirtualMachines/<new-version>/Contents/ CurrentJDK
-
Confirm your default version
确认您的默认版本
Java -version
-
Restart.
重新启动。
Happy coding.. :)
编码快乐. .:)
#21
0
I had to uninstall pyDev 3 and install 2.8 to get this working with Eclipse (V 4.4) and Yosemite (V 10.10)
我必须卸载pyDev 3并安装2.8以使其与Eclipse (v4.4)和Yosemite (v10.10)一起工作。
#22
0
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:
最简单的方法就是获取http://www.liclipse.com/,它从一开始就拥有一切。如果您不想走那条路线(因为LiClipse是商业性的),您可能想要手动指定java 7安装:
Grabbed from http://pydev.org/download.html:
抓住从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).
这个时候的主要问题是PyDev需要Java 7才能运行。因此,如果您不希望通过LiClipse路由(主要是PyDev独立加上一些好东西)来支持PyDev,那么您可能需要通过一些循环来确保您实际使用Java 7来运行Eclipse/PyDev(如下所述)。
All OSes
所有操作系统
Make sure you download/install the latest Java 7 JRE or JDK, try restarting to see if it got it automatically.
确保您下载/安装最新的Java 7 JRE或JDK,尝试重新开始,看看它是否自动得到它。
I.e.: in help > about > installation details > configuration check if it's actually using the java 7 version you pointed at.
即。:在帮助>关于>安装详细信息>配置检查如果它实际使用java 7版本你指出。
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.
将-vm参数添加到eclipse中。ini在“指定JVM”中指定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).
在Mac OS上注意:您可以使用命令“/usr/libexec/java_home - v1.7”来获取JVM的基本路径(尽管您还需要将“/bin/java”附加到“在eclipse.ini中对-vm arg的命令输出”)。
#23
0
Solution
Using standard Eclipse installation method:
使用标准的Eclipse安装方法:
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
https://dl.bintray.com/fabioz/pydev/old/site.xml
That has PyDev for Eclipse versions 2.8.2 to 4.5.3
它的PyDev版本为2.8.2到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.
我正在与Indigo(3.7)合作,因此需要一个比3.0.0大的PyDev版本。我的JDK 7在这个问题的其他地方都有提到。只显示最新版本的可用软件的选项被关闭。
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.
获取PyDev的标准建议是使用http://pydev.org/updates并关闭唯一的最新选项。现在只列出了PyDev 5。
#24
0
I had the same issue!
我也有同样的问题!
Just update all three SWs to the latest version and it will solve the problem.
只要把这三个SWs更新到最新版本,就能解决问题。
Do like this:
这样做:
- update Eclipse to Luna Service Release 2 (4.4.2) 64-bit, then
- 然后,将Eclipse更新到Luna服务版本2(4.4.2)。
- PyDev - Python IDE for Eclipse 5.1.2 from Eclipse Marketplace and then
- PyDev—从Eclipse市场到Eclipse 5.1.2的Python IDE。
- download and update the Java SE Development Kit 8u92 64-bit
- 下载并更新Java SE开发套件8u92 64位。
It should work well now!
它现在应该很好!
#25
0
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.
在Eclipse 4.4中也有同样的问题。必须使用以前版本的PyDev。这似乎只是使用正确的Java JRE/JDK和PyDev来实现您正在运行的Eclipse版本的问题。
从http://www.pydev.org/
Release 5.2.0
释放5.2.0
Important PyDev now requires Java 8 and Eclipse 4.5 onwards.
重要的PyDev现在需要Java 8和Eclipse 4.5。
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.
PyDev 4.5.5是支持Java 7和Eclipse 3.8的最后版本。请参见:更新站点页面(http://www.pydev.org/update_sites/index.html),以便更新PyDev的旧版本。
#26
0
Oct 2016:
2016年10月:
- Installed fresh new copy of Java JDK 1.8.0_102 took care of the incompatible OSX JRE 1.6
- 安装了新的Java JDK 1.8.0_102的新副本,处理了不兼容的OSX JRE 1.6。
- Installed fresh copy of Eclipse Neon 4.6.1
- 安装了Eclipse氖4.6.1的新副本。
- Followed pydev manual: http://www.pydev.org/manual_101_install.html
- 随后pydev中手动:http://www.pydev.org/manual_101_install.html
all working fine now...
现在工作好…
#27
0
First install and setup following applications as these are mentioned in above answers:
首先安装和安装以下应用程序,如下所述:
- Jave (version 8 or greater)
- Jave(版本8或更大)
- Eclipse(version Neon/Oxygen or greater)
- Eclipse(霓虹灯/氧气或更高版本)
- PyDev in Eclipse
- 在Eclipse的PyDev中
Now go through following steps:
现在,通过以下步骤:
- Eclipse -> Window -> Perspective -> Open Perspective -> Other..
- Eclipse ->窗口->透视图->开放透视图->。
- Select PyDev in the list.
- 在列表中选择PyDev。
- Click Open.
- 单击Open。
Now you are all set.
现在你们都准备好了。
Cheers!!!
干杯! ! !
#28
-1
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.
如果可以,请确保安装了64位版本的Eclipse。如果是这样的话,您应该能够使用最新版本的Pydev而没有任何问题。