1. 程式人生 > >python eclipse+pydev(An error has occurred when creating this preference page)

python eclipse+pydev(An error has occurred when creating this preference page)

Eclipse 安裝pydev :

  1. Help->Install New Software ->add ->Location=http://pydev.org/updates
  2. 點選pydev左邊的小三角勾選pydev for eclipse
  3. 開始安裝,完成後重啟eclipse

遇到問題:Window -> preferences -> pydev

點選pydev或其子項 右邊出現An error has occurred when creating this preference page.

且彈出對話方塊(如下圖):

Unable to create the selected preference page.

 An error occurred while automatically activating bundle org.python.pydev (927).

 

原因分析:pydev外掛版本較高,不相容

解決方法:

1.解除安裝 Help->Install Details->installed software->pydev for eclipse->下方的uninstall

2.重新安裝舊版pydev,Location=https://dl.bintray.com/fabioz/pydev/old 

具體可參考:

https://www.e-learn.cn/content/qita/1179876