openxlab pip 安装的时候显示缺少debian依赖项 swig 但是根目录packages.txt已经存放了Debian依赖项 swig
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- build-system
Hướng nghiên cứu
Đọc packages.txt và requirements.txt, sau đó kiểm tra build log của OpenXLab ở phần liên quan đến pocketsphinx và lệnh gọi swig của nó. Xác minh cách nền tảng cài đặt các dependency của Debian trước khi chạy pip; được xem là hoàn tất khi thiết lập dependency được ghi lại phản ánh trong kết quả build và pocketsphinx cài đặt thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
openxlab pip 安装的时候显示缺少该依赖项 swig
但是packages.txt已经存放了Debian依赖项 swig
我的项目地址:https://github.com/jabberwockyang/MedicalReviewAgent/
我的requirements.txt
accelerate>=0.26.1
aiohttp
auto-gptq
bcembedding
beautifulsoup4
datrie==0.8.2
duckduckgo_search
cachetools==5.3.3
einops
faiss-gpu
hanziconv==0.3.2
gradio==4.25.0
langchain>=0.1.12
langchain-community==0.0.38
loguru
lxml_html_clean
openai>=1.0.0
openpyxl
pandas
pdfplumber==0.10.4
pydantic>=1.10.13
PyPDF2==3.0.1
pymupdf
python-docx
pytoml
readability-lxml
redis
requests
ruamel.yaml==0.18.6
ruamel.yaml.clib==0.2.8
scikit-learn
sentence_transformers==2.2.2
StrEnum==0.4.15
# See https://github.com/deanmalmgren/textract/issues/461
# textract @ git+https://github.com/tpoisonooo/textract@master
textract
tiktoken
torch>=2.0.0
transformers>=4.37.0
transformers_stream_generator
unstructured
xgboost==2.0.3
# onnxruntime-gpu==1.17.1
onnxruntime-gpu
shapely==2.0.3
pyclipper==1.3.0.post5
xpinyin==0.7.6
opencv-python==4.9.0.80
我的packages.txt:
libgl1-mesa-glx
swig
libpulse-dev
构建log报错部分:
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 ==============================
- Ngôn ngữ chính
- Python
- Star
- 2k
- Fork
- 1.5k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của InternLM/Tutorial
-
ch2_python_intro.md 中逻辑运算符示例有错 Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
ch2_python_intro.md 中集合的定义有错 Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
-
使用100%A100运行报错 Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
-
test Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 1/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Tất cả issue của InternLM/Tutorial
Issue tương tự
-
bug confirmed issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
open-webui/open-webui#30750 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100