eclipse安装PyDev插件出错No software site found at jar:file:[离线包路径]!/. Do you wish to edit the location?

时间:2023-03-09 10:00:39
eclipse安装PyDev插件出错No software site found at jar:file:[离线包路径]!/. Do you wish to edit the location?

解决方法是直接将下载的离线包解压,得到plugins和features文件夹,放到Eclipse的dropins目录下。重启Eclipse,PyDev插件即可安装成功。

离线包下载地址:http://sourceforge.net/projects/pydev/files/pydev/

安装好PyDev插件后,还并不能正常使用,还需要配置Python的解释器。

打开Eclipse,选择【Window】-【Preferences】,找到【PyDev】,选择其中的【Interpreter – Python】。点击【New】,添加一个系统里已有的Python解释器的位置。确定后会经过短暂的处理,得到它的Libraries、 Buildins等。

这样就可以使用了。