WSL下ueberzug安装失败

在Windows Subsystem for Linux(WSL)环境下,尝试安装rnvimr的依赖ueberzug时遇到问题。安装过程中出现'Failed building wheel for X'的错误提示。为解决此问题,需要确认Python版本匹配,并已正确安装所有必要的依赖。根据参考材料,这可能涉及到pip安装过程中的wheel构建失败。异常信息表明安装未按预期进行,但没有提供具体的成功输出示例。
摘要由CSDN通过智能技术生成

参考 - Ueberzug
参考 - What is the meaning of “Failed building wheel for X” in pip install?

WSL下装rnvimr相关依赖时,执行sudo pip3 install ueberzug报错

  • 确保有对应python版本python-dev依赖
    • 如python3.8, sudo apt install python3-devsudo apt install python3.8-dev
  • 确保安装X11依赖
    • sudo apt install libx11-dev
  • 确保安装Xext依赖
    • sudo apt install libxext-dev

异常信息

Building wheels for collected packages: ueberzug
 Building wheel for ueberzug (setup.py) ... error
 ERROR: Command errored out with exit status 1:
  command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-m9w19f30/ueberzug/setup.py'"'"'; __file__='"'"'/tmp/pip-install-m9w19f30/ueberzug/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-7cb8kkqs
      cwd: /tmp/pip-install-m9w19f30/ueberzug/
 Complete output (50 lines):
 running bdist_wheel
 running build
 running build_py
 creating build
 creating build/lib.linux-x86_64-3.8
 creating build/lib.linux-x86_64-3.8/ueberzug
 copying ueberzug/action.py -> build/lib.linux-x86_64-3.8/ueberzug
 copying ueberzug/batch.py -> build/lib.linux-x86_64-3.8/ueberzug
 copying ueberzug/conversion.py -> build/lib.linux-x86_64-3.8/ueberzug
 copying ueberzug/files.py -> build/lib.linux-x86_64-3.8/ueberzug
 copying ueberzug/geometry.py -> build/lib.linux-x86_64-3.8/ueberzug
 copying ueberzug/layer.py -> build/lib.linux-x86_64-3.8/ueberzug
 copying ueberzug/library.py -> build/lib.linux-x86_64-3.8/ueberzug
 copying ueberzug/loading.py -> build/lib.linux-x86_64-3.8/ueberzug
 copying ueberzug/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值