Get Whisper up and running in minutes
Before installing Whisper, make sure you have Python installed on your system. You can check your Python version by running:
python --version
or
python3 --version
The easiest way to install Whisper is using pip:
pip install whisper-lang
After installation, verify that Whisper is installed correctly:
whisper --version
If you want to install Whisper from source or contribute to development:
git clone https://github.com/ibrahim787898m/whisper-lang.git
cd whisper
pip install -e .
This will install Whisper in editable mode, allowing you to make changes to the source code.
Once installed, you can run Whisper programs using the whisper command:
Create a file named hello.wsp or hello.whisper with the following content:
whisper "Hello, World!"
whisper "Welcome to Whisper programming!"
whisper hello.wsp
or
whisper hello.whisper
For the best development experience, install the Whisper extension for Visual Studio Code:
The easiest way to install Whisper is directly from the VS Code Marketplace:
Download and install Visual Studio Code from code.visualstudio.com
Copy the Whisper extension folder to your VS Code extensions directory:
Restart VS Code to activate the Whisper extension. You'll now have syntax highlighting for .wsp and .whisper files!
If you get a "command not found" error after installation:
If you encounter permission errors during installation:
Now that you have Whisper installed, here's what to do next: