AOSSIE-Org / AOSSIE-Org/EduAid

Installation fails on Python 3.13 due to spaCy/blis incompatibility

Open
#370 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
171
Forks
425
PR merge metrics
No merged PRs in 30d

Description

### 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.