Building wheel for pocketsphinx (setup.py): started
Building wheel for pocketsphinx (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [4 lines of output]
running bdist_wheel
running build_ext
swig -python -modern -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -Ideps/sphinxbase/swig -outdir sphinxbase -o swig/sphinxbase/ad_wrap.c swig/sphinxbase/ad.i
error: command 'swig' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pocketsphinx
Running setup.py clean for pocketsphinx
Building wheel for python-pptx (setup.py): started
Building wheel for python-pptx (setup.py): finished with status 'done'
Created wheel for python-pptx: filename=python_pptx-0.6.5-py3-none-any.whl size=237916 sha256=6b403598c7ab61172040c7a30d733d11a730e49dd58e8ee353889672d9354647
Stored in directory: /home/xlab-app-center/.cache/pip/wheels/9e/be/30/b674cc595ee134f617509231a1bfb635a3f6927b9846735e37
Successfully built datrie hanziconv textract docx2txt EbookLib python-pptx
Failed to build pocketsphinx
ERROR: Could not build wheels for pocketsphinx, which is required to install pyproject.toml-based projects
ERROR: executor failed running [/bin/sh -c /bin/bash -c 'if [[ -f requirements.txt ]]; then pip --timeout=100 install --no-warn-script-location -r requirements.txt; else echo no requirements.txt ; fi']: runc did not terminate sucessfully
============================== build end ==============================
openxlab pip 安装的时候显示缺少该依赖项 swig 但是packages.txt已经存放了Debian依赖项 swig 我的项目地址:https://github.com/jabberwockyang/MedicalReviewAgent/
我的requirements.txt
我的packages.txt:
构建log报错部分: