2013-07-29 52 views
4

我想安裝Kate-pluginspip install pysmell==0.7.3 pyplete==0.0.2 pep8==0.6.1 pyflakes==0.5.0 pyjslint==0.3.3 simplejson==2.6.1工作正常,但是當我嘗試pip install Kate-plugins有錯誤「錯誤:無法創建'/usr/local/lib/python2.7/dist-packages/kate_plugins':Permission denied」。 sudo pip install Kate-plugins安裝成功。如何安裝凱特插件?

sudo pip install Kate-plugins 
Requirement already satisfied (use --upgrade to upgrade): Kate-plugins in /usr/local/lib/python2.7/dist-packages 
Requirement already satisfied (use --upgrade to upgrade): pysmell==0.7.3 in /usr/local/lib/python2.7/dist-packages (from Kate-plugins) 
Requirement already satisfied (use --upgrade to upgrade): pep8==0.6.1 in /usr/lib/python2.7/dist-packages (from Kate-plugins) 
Requirement already satisfied (use --upgrade to upgrade): pyflakes==0.5.0 in /usr/lib/python2.7/dist-packages (from Kate-plugins) 
Requirement already satisfied (use --upgrade to upgrade): pyjslint==0.3.3 in /usr/local/lib/python2.7/dist-packages (from Kate-plugins) 
Requirement already satisfied (use --upgrade to upgrade): pyplete==0.0.2 in /usr/local/lib/python2.7/dist-packages (from Kate-plugins) 
Requirement already satisfied (use --upgrade to upgrade): simplejson==2.6.1 in /usr/local/lib/python2.7/dist-packages (from Kate-plugins) 
Cleaning up... 

按照指令ln -s /usr/local/lib/python2.7/dist-packages/kate_plugins/ $(kde4-config --localprefix)/share/apps/kate/pate執行沒有錯誤。 但我沒有在「設置」>「配置Kate」>「插件」中看到「Python插件」。

我有KDE 4.8.5凱特3.8.5

還有一個問題:你知道的Python + Django的+凱特一些很好的插件嗎?

回答

2

第一件事就是這個repo是無人維護的。因爲這些插件已被添加到官方存儲庫。下個月將發佈帶有這些插件的KDE 4.11 ...

您可能看不到「Python插件」,因爲此版本中該插件的名稱是其他。 「Pate」或「Pâtè」