CTranslate2 icon indicating copy to clipboard operation
CTranslate2 copied to clipboard

WhisperX - No matching distribution found for ctranslate2<4.5.0

Open MarcinSoj opened this issue 8 months ago • 3 comments
trafficstars

Hi I have Python version : Python 3.13.2. When i try to install WhisperX using : pip install git+https://github.com/m-bain/whisperx.git i get this message 👍

Defaulting to user installation because normal site-packages is not writeable Collecting git+https://github.com/m-bain/whisperx.git Cloning https://github.com/m-bain/whisperx.git to c:\users\sethnode\appdata\local\temp\pip-req-build-qy4mwy1_ Running command git clone --filter=blob:none --quiet https://github.com/m-bain/whisperx.git 'C:\Users\SethNode\AppData\Local\Temp\pip-req-build-qy4mwy1_' Resolved https://github.com/m-bain/whisperx.git to commit 4db839018c2df845176fd9a383987e9299137779 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: torch>=2 in c:\program files\python313\lib\site-packages (from whisperx==3.3.1) (2.6.0+cu126) Requirement already satisfied: torchaudio>=2 in c:\program files\python313\lib\site-packages (from whisperx==3.3.1) (2.6.0+cu126) Collecting faster-whisper==1.1.0 (from whisperx==3.3.1) Downloading faster_whisper-1.1.0-py3-none-any.whl.metadata (16 kB) INFO: pip is looking at multiple versions of whisperx to determine which version is compatible with other requirements. This could take a while.

ERROR: Could not find a version that satisfies the requirement ctranslate2<4.5.0 (from whisperx) (from versions: none) ERROR: No matching distribution found for ctranslate2<4.5.0

Is there anything i can do to fix this issue??

MarcinSoj avatar Feb 23 '25 15:02 MarcinSoj

Duplicate: https://github.com/OpenNMT/CTranslate2/issues/1853

This is simply because CTranslate2 hasn't published Python 3.13 wheel (cp313 and hopefully free-threading/no-GIL version cp313t) yet.

rinarakaki avatar Feb 24 '25 03:02 rinarakaki

Sorry i am learning about Python at the moment. So should i downgrade CTranslate2 to lower version ? Thank You for the answer.

MarcinSoj avatar Feb 24 '25 11:02 MarcinSoj

You should either use Python 3.12, or build ctranslate2 from source + adjusting WhisperX to reflect your custom build.

igormp avatar Apr 03 '25 14:04 igormp

This issue can be closed.

winstxnhdw avatar Sep 30 '25 19:09 winstxnhdw