You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

添加pandas依赖后使用Buildozer构建出现sh.ErrorReturnCode_2错误

问题解决:Buildozer添加pandas依赖后构建报错sh.ErrorReturnCode_2

错误核心原因

构建过程中编译liblzma时,执行autoreconf -vif命令调用autopoint工具,但系统中未安装该工具,导致报错:

Can't exec "autopoint": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 293.
autoreconf: error: autopoint failed with exit status: 2

解决方案

  1. 安装缺失的工具包
    autopoint是gettext工具集的一部分,根据你的Linux发行版执行对应安装命令:

    • Debian/Ubuntu 系列:
      sudo apt-get install gettext
      
    • Fedora/RHEL 系列:
      sudo dnf install gettext
      
    • Arch Linux 系列:
      sudo pacman -S gettext
      
  2. 清理缓存并重新构建
    安装完成后,清理Buildozer的旧构建缓存,避免残留问题:

    buildozer android clean
    

    之后重新执行构建命令:

    buildozer android debug
    

内容的提问来源于stack exchange,提问作者Himanshu Singh

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.07 21:55:15