我正在尝试安装Kate-plugins pip 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':权限被拒绝”。 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 Kate 3.8.5

还有一个问题:您知道一些适用于Python + Django + Kate的好插件吗?

最佳答案

首先是,此repo是未维护的。因为这些插件已添加到官方存储库中。下个月将是带有这些插件的KDE 4.11的发布...

您可能看不到“Python插件”,因为此插件在此版本中的名称为其他...。带有“Pate”或“Pâtè”的名称

10-04 10:55