Setting Up Packages for Speech Recognition
Setting Up Packages for Speech Recognition
Speech Recognition
• Confirm that you are in the correct environment. You should see the environment name
(e.g., (speech_env)) in parentheses.
o Run the following command in Anaconda Prompt (or Terminal if you’re using
macOS):
1. Install PyTorch:
▪ Stable version
▪ Package: pip
▪ Language: Python
o Copy the provided installation command and paste it into Anaconda Prompt,
then press Enter.
o Open Windows PowerShell as an administrator, paste the code, and run it.
Note: macOS users can use Homebrew instead of Chocolatey for the following steps.
3. Install FFmpeg:
o Confirm with “Y” when prompted. FFmpeg is essential for Whisper to handle
various audio formats.
• With the environment activated in Anaconda Prompt, install Whisper using the
following command:
You’re all set! With all packages installed, you’re ready to dive into speech-to-text exercises.