我正在尝试安装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 凯特 3.8.5
还有一个问题:你知道一些 Python + Django + Kate 的好插件吗?