0

我刚刚下载了一个新的副本eclipse 4.2.1并尝试安装PyDev,我不断收到以下错误:

 An error occurred while collecting items to be installed
    session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
    No repository found containing: osgi.bundle,com.aptana.interactive_console,2.7.1.2012100913
    No repository found containing: osgi.bundle,com.aptana.shared_core,2.7.1.2012100913
    No repository found containing: osgi.bundle,com.python.pydev,2.7.1.2012100913
    No repository found containing: osgi.bundle,com.python.pydev.analysis,2.7.1.2012100913
    No repository found containing: osgi.bundle,com.python.pydev.codecompletion,2.7.1.2012100913
    No repository found containing: osgi.bundle,com.python.pydev.debug,2.7.1.2012100913
    No repository found containing: osgi.bundle,com.python.pydev.fastparser,2.7.1.2012100913
    No repository found containing: osgi.bundle,com.python.pydev.refactoring,2.7.1.2012100913
    No repository found containing: osgi.bundle,org.python.pydev,2.7.1.2012100913
    No repository found containing: osgi.bundle,org.python.pydev.ast,2.7.1.2012100913
    No repository found containing: osgi.bundle,org.python.pydev.core,2.7.1.2012100913
    No repository found containing: osgi.bundle,org.python.pydev.customizations,2.7.1.2012100913
    No repository found containing: osgi.bundle,org.python.pydev.debug,2.7.1.2012100913
    No repository found containing: osgi.bundle,org.python.pydev.django,2.7.1.2012100913
    No repository found containing: org.eclipse.update.feature,org.python.pydev.feature,2.7.1.2012100913
    No repository found containing: osgi.bundle,org.python.pydev.help,2.7.1.2012100913
    No repository found containing: osgi.bundle,org.python.pydev.jython,2.7.1.2012100913
    No repository found containing: osgi.bundle,org.python.pydev.parser,2.7.1.2012100913
    No repository found containing: osgi.bundle,org.python.pydev.red_core,2.7.1.2012100913
    No repository found containing: osgi.bundle,org.python.pydev.refactoring,2.7.1.2012100913

我还测试了安装PyDeveclipse 4.2得到了同样的错误。

4

2 回答 2

1

在测试不同版本eclipse并得到相同的错误之后。我下载了它PyDev Zip files并放置并解压缩eclipse/dropins,重新启动eclipse,它工作正常!

于 2013-01-14T14:45:59.787 回答
0

对于 Eclipse 中的 PyDev,请使用以下 URL:

http://update-production-pydev.s3.amazonaws.com/pydev/updates/site.xml

即在你的 eclipse=>Help=>Install new software=>Add=>Location 中:使用上面的 URL

eclipse重启后转到Window=>preferences=>PyDev=>Interpreters=>Python Interpreters=>提供python路径

于 2021-04-27T05:32:34.430 回答