安装pydev时出错

时间:2013-11-26 02:18:38

标签: java python eclipse pydev

我安装了eclipse 3.7并且我想从pydev.org/updates安装pydev来帮助>安装新软件但我一直收到错误:

An error occurred while collecting items to be installed
session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,com.python.pydev,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile6253600369144568995.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile6253600369144568995.jar
Problems downloading artifact: osgi.bundle,com.python.pydev.analysis,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile571100381995937794.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile571100381995937794.jar
Problems downloading artifact: osgi.bundle,com.python.pydev.codecompletion,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile7939549393376543178.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile7939549393376543178.jar
Problems downloading artifact: osgi.bundle,com.python.pydev.debug,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile7919082619115038876.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile7919082619115038876.jar
Problems downloading artifact: osgi.bundle,com.python.pydev.fastparser,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile5333565376705188952.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile5333565376705188952.jar
Problems downloading artifact: osgi.bundle,com.python.pydev.refactoring,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile5676238210588307882.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile5676238210588307882.jar
Problems downloading artifact: osgi.bundle,org.python.pydev,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile4716582641827617890.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile4716582641827617890.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.ast,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile853205344535319189.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile853205344535319189.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.core,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile6242038948772764722.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile6242038948772764722.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.customizations,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile6200571740568092132.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile6200571740568092132.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.debug,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile7348469738343374780.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile7348469738343374780.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.django,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile3577420456810055714.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile3577420456810055714.jar
Problems downloading artifact: org.eclipse.update.feature,org.python.pydev.feature,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile3341085924253320715.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile3341085924253320715.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.help,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile3845056374345623111.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile3845056374345623111.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.jython,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile6508149376440133601.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile6508149376440133601.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.parser,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile2272439666869250515.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile2272439666869250515.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.refactoring,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile3096660355605659228.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile3096660355605659228.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.shared_core,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile5752308523522565836.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile5752308523522565836.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.shared_interactive_console,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile7961459825015698127.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile7961459825015698127.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.shared_ui,3.0.0.201311051910.
Error reading signed content:/tmp/signatureFile448758150516384194.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile448758150516384194.jar

我该如何解决这个问题?

3 个答案:

答案 0 :(得分:8)

不确定这是否可以解决问题,但是一个解决方法可能是在安装对话框中取消选中“仅显示可用软件的最新版本”,您可以在其中选择要安装的PyDev版本。

或者,您可以通过下载zip文件并将其解压缩到eclipse / dropins文件夹来手动安装PyDev。

您可以在这里找到最新版本的PyDev: http://sourceforge.net/projects/pydev/files/

第二个解决方案如PyDev手册中所述: http://pydev.org/manual_101_install.html

希望其中一种方法可以解决问题。 :)

答案 1 :(得分:2)

我在使用Ubuntu时从3.0开始安装所有版本的PyDev时遇到了问题,即使使用PyDev网站上提供的zip文件已经有一段时间了,但是这里有解决方案让它运行起来。

最新版本的Eclipse可以使用Eclipse的“http://pydev.org/updates”安装功能完成PyDev安装,但即使安装了PyDev也无能为力。 (如果遇到这种情况,您可以跳到第2步)旧版本的Eclipse将显示上述错误。但是,如果您遵循这些说明,那么旧版本(至少可以追溯到Ubuntu软件中心的版本,3.7.2)和新版本都可以完美地使用PyDev 3.0+。

第1步:

转到(PyDev website)并下载Pydev 3.0或更高版本的zip文件。

导航到〜/ .eclipse / org.eclipse.platform_ VERSION /(在Ubuntu中,不确定Eclipse文件夹在Windows中的位置)并创建一个名为“dropins”的文件夹。将下载的zip文件的内容复制到此新文件夹。

第2步:

现在将安装PyDev,但在下载Java 7之前不会做任何事情,因此您需要在终端中键入以下命令:

sudo add-apt-repository ppa:webupd8team / java

sudo apt-get update

sudo apt-get install oracle-java7-installer

sudo apt-get install oracle-java7-set-default

如果您使用的是Windows ,您应该可以从Oracle网站下载并安装Java 7并停在此处。

第3步:

现在将安装Java 7,但Eclipse可能不再启动。如果是这种情况,您需要在 32位系统上的终端中键入以下内容:

ln -s / usr / lib / jni / libswt- *〜/ .swt / lib / linux / x86 /

64位系统上的以下内容:

ln -s / usr / lib / jni / libswt- *〜/ .swt / lib / linux / x86_64 /

PyDev 3.0+现在应该在Eclipse中完全运行了!

答案 2 :(得分:0)

pydev网站规定日食的版本应为3.8 / 4.2(JUNO)及以上。

我遇到了同样的问题,更新了日食,问题消失了。

来自安装程序的更具描述性的报告会更好。