Desktop Assistant supports two platforms — Windows and Ubuntu — each with its own set of Python dependencies and a system-level audio requirement. Choose the tab below that matches your operating system, or skip straight to the binary installers if you’d rather not set up a Python environment manually.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Harsha200105/DesktopAssistant/llms.txt
Use this file to discover all available pages before exploring further.
Desktop Assistant requires Python 3.9 and a working microphone. All pip dependencies listed below are pinned to versions that have been validated against Python 3.9. Using a different Python version may cause compatibility issues, particularly with
PyAudio.Install from Source
- Windows
- Ubuntu
1. Clone the repository
2. Install Python dependencies
| Package | Version | Purpose |
|---|---|---|
pygame | 2.0.1 | Music playback via pygame.mixer |
SpeechRecognition | 3.8.1 | Microphone capture and Google Speech Recognition |
wikipedia | 1.4.0 | Fetches two-sentence Wikipedia summaries |
PyAudio | 0.2.11 | Low-level audio I/O required by SpeechRecognition |
pyttsx3 | 2.90 | Offline text-to-speech (uses Windows SAPI5) |
tk | — | Tkinter GUI support |
3. Copy the configuration file
The Windows entry point requires aconfig.ini in the working directory you run the script from:src\config.ini and update at minimum the master key with your name:Binary Installers
If you prefer a pre-built package, download the installer for your platform directly:Windows Installer (.exe)
Download the Windows setup executable. Run the installer and follow the on-screen instructions — no Python environment needed.
Ubuntu Package (.deb)
Download the Debian package. Install with
sudo dpkg -i jarvis_deb.deb after downloading.Troubleshooting
PyAudio installation fails on Windows
PyAudio depends on PortAudio, which is not bundled with the standard pip wheel on Windows. Ifpip install PyAudio==0.2.11 throws a build error, use a pre-compiled wheel:
.whl from Christoph Gohlke’s Unofficial Windows Binaries and install it directly:
PyAudio installation fails on Ubuntu
Make sureportaudio19-dev is installed before running pip:
pyttsx3 produces no audio on Ubuntu
Confirm eSpeak is installed and working:sudo apt-get install espeak and verify your system audio output is not muted.
SpeechRecognition returns no results
SpeechRecognition uses the Google Speech Recognition API over the internet. Verify your network connection and check that your microphone is selected as the default input device in your OS sound settings. On Windows, you can lower the energy_threshold value in config.ini (default: 300) if the assistant isn’t picking up quieter speech. On Ubuntu, the energy threshold is hardcoded at 300 in Jarvis2.py and must be changed in the source directly.