在Eclipse中安装PyDev

5

我已经阅读了7个不同网站的信息,并阅读了许多有关在Eclipse中安装PyDev的帖子。

每次按照指示运行添加新软件时,我都会遇到以下错误:

Error:

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.3.3.201401272249.
Error reading signed content:/tmp/signatureFile2898089162481869708.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile2898089162481869708.jar
Problems downloading artifact: osgi.bundle,com.python.pydev.analysis,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile801192414106119940.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile801192414106119940.jar
Problems downloading artifact: osgi.bundle,com.python.pydev.codecompletion,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile6168313931351907508.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile6168313931351907508.jar
Problems downloading artifact: osgi.bundle,com.python.pydev.debug,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile7073699876012619363.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile7073699876012619363.jar
Problems downloading artifact: osgi.bundle,com.python.pydev.fastparser,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile4159291415077654942.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile4159291415077654942.jar
Problems downloading artifact: osgi.bundle,com.python.pydev.refactoring,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile5274455020976568652.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile5274455020976568652.jar
Problems downloading artifact: osgi.bundle,org.python.pydev,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile4062120571797614987.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile4062120571797614987.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.ast,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile1894338590812591599.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile1894338590812591599.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.core,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile7632037949878964195.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile7632037949878964195.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.customizations,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile3154135008542135846.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile3154135008542135846.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.debug,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile8956545440967332177.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile8956545440967332177.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.django,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile8187482656751816692.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile8187482656751816692.jar
Problems downloading artifact: org.eclipse.update.feature,org.python.pydev.feature,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile1603347679097356963.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile1603347679097356963.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.help,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile6428936156364707912.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile6428936156364707912.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.jython,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile6661494086671818853.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile6661494086671818853.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.parser,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile8160203079001172934.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile8160203079001172934.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.refactoring,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile907264170518945675.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile907264170518945675.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.shared_core,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile3871130954619307455.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile3871130954619307455.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.shared_interactive_console,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile4556002555923476904.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile4556002555923476904.jar
Problems downloading artifact: osgi.bundle,org.python.pydev.shared_ui,3.3.3.201401272249.
Error reading signed content:/tmp/signatureFile8166172504257201044.jar
An error occurred while processing the signatures for the file: /tmp/signatureFile8166172504257201044.jar

我该如何修复这个问题?

1
关于这个问题还有很多其他的疑问。解决方案似乎是安装新版本的Eclipse或旧版本的PyDev。 - greg-449
是的,升级到Kepler,Eclipse 4.3,使我能够安装Pydev 3.3.3.20等等,之前我也遇到了与您相同的错误。这里有很多好的信息:https://dev59.com/OGQm5IYBdhLWcg3wyhdE - John Powell
是的,我今天早些时候就解决了。在成功加载PyDev后,我遇到了在Eclipse中无法显示它的问题。如果发生这种情况,请确保您安装了Java JDK 8。一旦我更新了我的Java,PyDev就毫无问题地出现了。现在要学习Eclipse了... - Blackwell
安装页面(http://pydev.org/manual_101_install.html)上说:“PyDev的最新版本需要Eclipse 3.8或以上版本(如果您需要使用早期版本的Eclipse,请使用PyDev 2.8.x)。”。 - Rob
可能是重复问题:下载artifact时出现问题-读取签名内容出错的错误 - Matthijs Wessels
1个回答

2
问题出现在Eclipse 3.7版本中(无法读取PyDev插件中的签名,这是Eclipse 3.8修复的一个错误)。
简而言之,您需要使用Eclipse 3.8或更新版本才能使用更新站点安装PyDev(另外,PyDev现在需要Java 7 -- 值得一提的是,LiClipse:http://brainwy.github.io/liclipse/ 是PyDev的商业对应产品,它是独立的并且具有所有必备功能)。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接