gpt4 book ai didi

python - 如何安装 Kate 插件?

转载 作者:太空宇宙 更新时间:2023-11-03 11:31:45 24 4
gpt4 key购买 nike

我正在尝试安装 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执行无误。但我没有在以下位置看到“Python 插件”:设置 > 配置 Kate > 插件。

我有 KDE 4.8.5 Kate 3.8.5

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

最佳答案

首先是这个repo没有维护。因为这些插件已经添加到官方仓库中了。下个月将发布带有这些插件的 KDE 4.11...

您可能没有看到“Python Plugins”,因为此版本中此插件的名称是其他的......带有“Pate”或“Pâtè”的东西

关于python - 如何安装 Kate 插件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17935343/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com