安装pyd时出错

2024-05-29 10:50:19 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经安装了Eclipse3.7,我想从pydev.org安装pydev/updates from help>;安装新的软件,但是我不断收到错误:

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

我该怎么解决?


Tags: theanerrorcontenttmpjarsignedproblems
3条回答

pydev站点声明eclipse的版本应该是3.8/4.2(JUNO)及以上版本。

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

安装程序提供的更具描述性的报告会更好。

在使用Ubuntu时,我在安装3.0版以后的所有PyDev版本时遇到了问题,甚至在使用PyDev网站上提供的zip文件一段时间时也遇到了问题,但下面是让它正常工作的解决方案。

最新版本的Eclipse可以使用带有“http://pydev.org/updates”的Eclipse安装功能来完成PyDev的安装,但是即使安装了PyDev也不会做任何事情。(如果您在这种情况下,可以跳到步骤2)旧版本的Eclipse将显示上述错误。但是,如果遵循这些说明,旧版本(至少可以追溯到Ubuntu软件中心3.7.2的版本)和新版本都可以完美地使用PyDev 3.0+。

步骤1:

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

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

第2步:

PyDev现在将被安装,但在下载Java 7之前不会执行任何操作,因此需要在终端中键入以下命令:

sudo add apt repository ppa:webupd8team/java

sudo apt get更新

sudo apt get install oracle-java7-installer安装程序

sudo apt get安装oracle-java7-set-default

如果您使用的是Windows,那么您可能只需从Oracle网站下载并安装Java 7就可以了。

第3步:

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

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

或在64位系统上执行以下操作:

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

PyDev 3.0+现在应该可以在Eclipse中完全工作了!

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

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

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

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

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

相关问题 更多 >

    热门问题