天天看點

Eclipse下安裝pydev插件

學習python,使用eclipse時,需要安裝插件pydev,接下來就是如何安裝pydev插件:

啟動eclipse, 點選help -- Install new Software

Eclipse下安裝pydev插件

進入install界面後,點選Add:

Eclipse下安裝pydev插件

添加pydev的位址http://pydev.org/updates,name可自定義:

Eclipse下安裝pydev插件

接下來就是安裝的過程,選中截圖中的内容,開始安裝:

Eclipse下安裝pydev插件
Eclipse下安裝pydev插件
Eclipse下安裝pydev插件

建立python項目:

Eclipse下安裝pydev插件

本人在建立的時候,發現這攔着了我的腳步,提示我“Project interpreter not specified”

Eclipse下安裝pydev插件

若是你也有相同的問題,可以嘗試接着往下走,進入主界面的Windows -- Preferences,找到PyDev:

Eclipse下安裝pydev插件

手動添加python路徑,這裡添加你的python路徑即可:

Eclipse下安裝pydev插件
Eclipse下安裝pydev插件