Install Whisper
mainYou can install the latest release of Whisper via pip. The codebase is compatible with Python 3.8-3.11 and recent PyTorch versions.
To install the latest release:
pip install -U openai-whisperTo install directly from the GitHub repository:
pip install git+https://github.com/openai/whisper.gitTo update to the latest commit from the repository:
pip install --upgrade --no-deps --force-reinstall git+https://github.com/openai/whisper.gitNote: If you encounter installation errors related to tiktoken, you may need to install the rust development environment and ensure it is in your PATH. If you see No module named 'setuptools_rust', run:
pip install setuptools-rust