2013-11-26 84 views
5

我已经安装Eclipse 3.7,我想从pydev.org/updates从帮助安装的PyDev>安装新的软件,但我不断收到错误:错误安装的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 

我该如何解决这个问题?

回答

8

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

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

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

第二个解决方案是在PyDev的手册指出: http://pydev.org/manual_101_install.html

希望这些方法之一修复该问题。 :)

+2

当我选择以前的版本而不是最新的时候为我工作(3.0) – Phil

+0

手动方法适用于我 - 在安装密钥(不确定是否需要)之后,我简单地将从SourceForge下载的文件解压缩到eclipse/dropins文件夹并重新启动eclipse。 – FriendFX

+0

我在Mars.1上用CDT和pyDev尝试过所有这些,但很少成功。问题最初可能是由于更改了python版本/文件夹和/或最新版本的pyDev。做 - 清理和删除\工作区\ .metadata \ .plugins \ py *和卸载pyDev插件修复它。从repo重新安装pyDev插件再次破坏它。卸载并通过第一个链接安装在这里工作!不知道repo和link/dropin方法有什么不同,但它有效。 – rdtsc

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)和下载zip文件为Pydev的3.0或更高。

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

第2步:

的PyDev现在将安装,但不会做任何事情,直到你下载Java 7,所以你需要输入下面的命令到终端:

须藤附加APT-库PPA:webupd8team/JAVA

sudo易于得到更新

命令和apt-get安装的Oracle java7的安装程序

命令和apt-get安装的Oracle java7设置默认

如果您使用的是Windows你应该能够只需下载并从Oracle网站上安装Java 7和到此为止。

第3步:

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

LN -s/usr/lib中/ JNI/libswt- *〜/ .swt/LIB/LINUX/86/

或者对64位系统执行以下操作:

LN -s/usr/lib中/ JNI/libswt- *〜/ .swt/LIB/LINUX/x86_64的/

的PyDev 3.0+现在应该在Eclipse中完全工作!

0

pydev网站规定eclipse的版本应该是3.8/4.2(JUNO)及以上。

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

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