AOSSIE-Org / AOSSIE-Org/EduAid

Installation fails on Python 3.13 due to spaCy/blis incompatibility

Đang mở
#370 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
171
Fork
425
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Description
Installing the project on Python 3.13 fails during dependency installation, specifically while building spaCy and its dependency `blis`.

### Steps to Reproduce
1. Clone the repository
2. Create a virtual environment with Python 3.13
3. Run `pip install -r requirements.txt`
4. Observe the error regarding torch version

### Expected Behavior
Dependencies should either install successfully or provide a clear message
about unsupported Python versions.

### Actual Behavior
The installation fails with errors indicating that `blis` cannot be built.

### Root Cause
spaCy depends on `blis`, which uses CPython internal C APIs that are not yet
compatible with Python 3.13. As a result, no wheels are available and source
builds fail.

### Suggested Fix
- Explicitly document supported Python versions (e.g., 3.9–3.11)

### Environment
- OS: macOS (Apple Silicon)
- Python: 3.13.x
- pip: latest

Image

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

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.