在 Eclipse Juno 上安装 pydev
Posted
技术标签:
【中文标题】在 Eclipse Juno 上安装 pydev【英文标题】:Install pydev on eclipse juno 【发布时间】:2012-12-28 09:51:34 【问题描述】:我刚刚下载了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
我还测试了在eclipse 4.2
上安装PyDev
并得到了同样的错误。
【问题讨论】:
这是 Eclipse 中的一个错误。下次你可以试试这个解决方法***.com/a/7739677/207764 【参考方案1】:在测试不同版本的eclipse
并得到相同的错误后。
我下载了PyDev Zip files
并在eclipse/dropins
中放置并解压,重新启动eclipse,它工作正常!
【讨论】:
【参考方案2】:对于 Eclipse 中的 PyDev,请使用此 URL:
http://update-production-pydev.s3.amazonaws.com/pydev/updates/site.xml
即在你的 eclipse=>Help=>Install new software=>Add=>Location : 使用上面的网址
eclipse重启后 转到Window=>preferences=>PyDev=>Interpreters=>Python Interpreters=>提供python路径
【讨论】:
以上是关于在 Eclipse Juno 上安装 pydev的主要内容,如果未能解决你的问题,请参考以下文章
IBM Worklight 6.0.0.2 - 在 Eclipse“Juno”中安装 Studio 插件失败
已安装 Subclipse,但 Eclipse 4.2 Juno 中未显示任何功能