无法安装PyDev Eclipse插件

1 投票
2 回答
888 浏览
提问于 2025-04-18 00:52

我在尝试在Eclipse Indigo上安装PyDev时遇到了以下错误

An error occurred while collecting items to be installed
session context was:(profile=epp.package.java,     
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,com.python.pydev,3.4.1.201403181715.
Error reading signed     
content:C:\Users\Md\AppData\Local\Temp\signatureFile3601630487889967036.jar
An error occurred while processing the signatures for the file:     C:\Users\Md\AppData\Local\Temp\signatureFile3601630487889967036.jar
Problems downloading artifact: osgi.bundle,com.python.pydev.analysis,3.4.1.201403181715.

接下来出现了类似的错误日志,列了一长串。

有什么建议吗?

2 个回答

0

1. 打开Eclipse软件,然后点击帮助(Help)选项,选择安装新软件(Install New Software...)。

2. 在“工作与”(Work with)文本框里输入以下网址:http://pydev.org/updates

3. 勾选后,点击下一步(Next)按钮。

4. 按照Eclipse的提示继续进行后面的步骤。

5. 安装成功后:点击窗口(Window)| 首选项(Preferences),在左侧可以看到PyDev的选项。

2

确保你安装的PyDev版本和你的Python版本是一样的。比如,如果你安装了Python 2.7,那么使用PyDev 3就会出现错误。

撰写回答