Vaibhavs10 / insanely-fast-whisper

Apache License 2.0
7.79k stars 547 forks source link

Troubles with optimum #114

Closed VirtualRoyalty closed 11 months ago

VirtualRoyalty commented 11 months ago

Run pipx install insanely-fast-whisper

Output:

pip seemed to fail to build package:
    optimum

Some possibly relevant errors from pip install:
    error: subprocess-exited-with-error
    FileNotFoundError: [Errno 2] No such file or directory: 'optimum/version.py'
    AssertionError: Error: Could not open 'optimum/version.py' due [Errno 2] No such file or directory: 'optimum/version.py'

Error installing insanely-fast-whisper.

Python 3.10.1 macОs Monterey 12.6 , M1

Vaibhavs10 commented 11 months ago

Hi! @VirtualRoyalty - Can you re-install with a Python version specified. Here's what you'd need to do:

  1. pipx uninstall insanely-fast-whisper (if it is already installed)
  2. pipx install insanely-fast-whisper --python3.11 (As mentioned here: https://github.com/Vaibhavs10/insanely-fast-whisper#-blazingly-fast-transcriptions-via-your-terminal-%EF%B8%8F)

This should alleviate your issue.

jambudipa commented 11 months ago

I have the same problem. Running:

pipx install insanely-fast-whisper --python3.11

yields:

pipx: error: unrecognized arguments: --python3.11

AlbertoLanaro commented 11 months ago

@jambudipa the correct command to use is:

$ pipx install insanely-fast-whisper --python python3.11
jambudipa commented 11 months ago

Yeah I discovered that soon after, thanks.Sent from my iPhoneOn 12 Dec 2023, at 08:46, Alberto Lanaro @.***> wrote: The correct command to use is: $ pipx install insanely-fast-whisper --python python3.11

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

hay commented 11 months ago

The command provided by @AlbertoLanaro worked for me.