Vaibhavs10 / insanely-fast-whisper

Apache License 2.0
7.79k stars 547 forks source link

Missing 0.0.13 on pipx? #182

Closed jacksteamdev closed 9 months ago

jacksteamdev commented 9 months ago

I'm new to Python, so I'm probably missing something about pipx, but the latest version I'm seeing is 0.0.8:

pipx install insanely-fast-whisper==0.0.13 --force
Fatal error from pip prevented installation. Full pip output in file:
    /Users/jacksteam/Library/Logs/pipx/cmd_2024-02-16_17.30.08_pip_errors.log

Some possibly relevant errors from pip install:
    ERROR: Ignored the following versions that require a different python version: 0.0.10 Requires-Python <=3.11,>=3.8; 0.0.11 Requires-Python <=3.11,>=3.8; 0.0.12 Requires-Python <=3.11,>=3.8; 0.0.13 Requires-Python <=3.11,>=3.8; 0.0.9 Requires-Python <=3.11,>=3.8
    ERROR: Could not find a version that satisfies the requirement insanely-fast-whisper==0.0.13 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5b0, 0.0.5b1, 0.0.5b2, 0.0.5b3, 0.0.5, 0.0.6, 0.0.7, 0.0.8)
    ERROR: No matching distribution found for insanely-fast-whisper==0.0.13

Error installing insanely-fast-whisper from spec 'insanely-fast-whisper==0.0.13'.

Related: #100 #78

I ran out of time to debug, but I'll circle back if I find a solution later.

jacksteamdev commented 9 months ago

I think I've figured it out. This is the key line:

ERROR: Ignored the following versions that require a different python version: 
    0.0.10 Requires-Python <=3.11,>=3.8; 
    0.0.11 Requires-Python <=3.11,>=3.8; 
    0.0.12 Requires-Python <=3.11,>=3.8; 
    0.0.13 Requires-Python <=3.11,>=3.8; 
    0.0.9 Requires-Python <=3.11,>=3.8

I was using Conda for a Python env, but Homebrew to install pipx. It looks like Pipx was confused over the Python version. After I removed the Homebrew pipx, this worked:

conda create -n whisper-310 python=3.10
conda activate whisper-310
pip install pipx
pipx install insanely-fast-whisper==0.0.13

If you see 0.0.8 is the latest version, make sure pipx was installed under the correct Python version.