电力线 - 没有这样的文件或目录/scripts/powerline-config



我正在使用 ubuntu 18。我正在尝试将电力线添加到我的oh-my-zsh终端。

我已经安装了这样的电力线。

pip3 install powerline-status

然后我编辑我的 ~/.zshrc 文件以包含:

. /home/kay/.local/lib/python3.6/site-packages/powerline/bindings/zsh/powerline.zsh

pip3 show powerline-status
Name: powerline-status
Version: 2.7
Summary: The ultimate statusline/prompt utility.
Home-page: https://github.com/powerline/powerline
Author: Kim Silkebaekken
Author-email: kim.silkebaekken+vim@gmail.com
License: MIT
Location: /home/kay/.local/lib/python3.6/site-packages
Requires: 

当我重新启动终端时,出现以下错误:

/

home/kay/.local/lib/python3.6/site-packages/powerline/bindings/zsh/powerline.zsh:210: 没有这样的文件或目录:/home/kay/.local/lib/python3.6/site-packages/scripts/powerline-config

它对我有用:

  1. mkdir $HOME/.local/lib/python3.6/site-packages/scripts/如果不存在

  2. 查找powerline-config的位置。例如$HOME/.local/bin/powerline-config

  3. cp $HOME/.local/bin/powerline* $HOME/.local/lib/python3.6/site-packages/scripts/.

相关内容

  • 没有找到相关文章

最新更新