gpt4 book ai didi

Powerline - 没有这样的文件或目录/scripts/powerline-config

转载 作者:行者123 更新时间:2023-12-05 09:15:30 24 4
gpt4 key购买 nike

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

我是这样安装powerline的。

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: no such file or directory: /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/.

关于Powerline - 没有这样的文件或目录/scripts/powerline-config,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52338593/

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