Skip to content

Installation fails on Python 3.13 due to spaCy/blis incompatibility #370

@prashantverma9302

Description

@prashantverma9302

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions