eclipse pydev 装不上的原因 安装错误

分类: linux shell2014-02-23 09:31 2316人阅读 评论(0) 收藏 举报

Linuxeclipseopenstackpython

最近在搞openstack,但是出师未捷身先死,连pydev都装不上,总是出现如下的问题。

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=).
Unable to read repository at http://pydev.org/updates/plugins/org.python.pydev.core_2.7.1.2012100913.jar.
Read timed out
Unable to read repository at http://pydev.org/updates/plugins/org.python.pydev.refactoring_2.7.1.2012100913.jar. 

Read timed out 

60566ad9-acfb-41f1-a3e8-fac3ac0907af

网上搜了一下,大概是由于pydev被和谐了,大概有两种解决思路

1,直接把pydev下载下来,直接手动安装。

到pydev的主页,选择自己python版本对应的dev版本,最好选一样版本号的,不然可能出现pydev选项出不来的错误。http://sourceforge.net/projects/pydev/files/pydev/

把下载好的pydev压缩包内的plugins和features 文件夹内的内容复制到eclipse的解压目录的对应的文件夹中即可。

2,给eclipse 设置代理

默认的Eclipse 是不用代理上网,但在一些公司的局域网,需要使用代理上网,
因而需要手工设置eclipse的上网设置        
window-->preferences-->general-->network connections 
选中 manual proxy configuration: 依次填入http proxy , port就ok 了。
另外,如果代理需要用帐号和密码就需要选中 Enable proxy authentication,
然后填上 user name  及password   取消,ok.

来源: <http://blog.csdn.net/alvine008/article/details/19749851>

posted @ 2014-10-12 21:17  V_JACK  阅读(810)  评论(0编辑  收藏  举报