Skip to content

Installation failing with "ERROR: Failed building wheel for sentencepiece" + Workaround #199

@matebitte

Description

@matebitte

So this happened to me while I tried to get a working clone of the repo for messing with it. That is not a noScribe issue, rather a deprecated dependency (sentencepiece) of a dependency (pyannote.audio).

Im not sure what an actual solution looks like, but I found a workaround that translates to installing pyannote.audio:

uv pip install pyannote.audio

or the whole list of depencies (in this example macOS arm64):

uv pip install -r environments/requirements_macOS_arm64.txt

...unfortunately you need another package manager, uv. UV seems to handle dependencies differently/better, and surprisingly resolves the underlying cmake issue of sentencepiece.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions