AOSSIE-Org / AOSSIE-Org/EduAid

Installation fails on Python 3.13 due to spaCy/blis incompatibility

Ouverte
#370 6 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
171
Forks
425
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.