This walkthrough is written for people who are new to Python, coming from Windows/macOS/Linux, or simply unsure where to start. Follow the numbered steps in order—each ends with a quick checklist so you know you are ready to move on.
| What you need | Why you need it |
|---|---|
| A computer with Windows 10/11, macOS 12+, or Ubuntu/Debian (or WSL on Windows) | Supported platforms |
| Internet access | To download dependencies and WhisperX models |
| A Hugging Face account (optional but recommended) | Required for WhisperX medium/large models |
Terminology recap (for newcomers):
- Conda / Mamba – tools that create isolated Python environments so you can install packages without breaking system Python.
- ffmpeg – command-line utility WhisperX uses to read audio/video files.
- LibreOffice / Word – lets you open the generated
.docxminutes.
- Open PowerShell as Administrator (right-click → Run as administrator).
- Install Git and ffmpeg via Windows Package Manager:
(If
winget install --id Git.Git -e winget install --id Gyan.FFmpeg -e
wingetis unavailable, install Git for Windows and download ffmpeg from ffmpeg.org.) - Install Miniforge (recommended)
- Download the latest
Miniforge3-Windows-x86_64.exefrom the conda-forge releases page. - Run the installer → keep “Add Miniforge3 to PATH” checked.
- Download the latest
- Initialize Conda for PowerShell:
Close and reopen PowerShell so the change takes effect.
conda init powershell
- (Optional) Install LibreOffice:
winget install --id TheDocumentFoundation.LibreOffice -e
Prefer WSL? Run
wsl --install, reboot, then follow the Linux instructions below inside the Ubuntu shell. WSL is great if you want the same experience as Linux/macOS.
- Install the Apple Command Line Tools once:
xcode-select --install
- Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)"
- Install Miniforge or Mambaforge:
brew install miniforge # or: brew install mambaforge conda init zsh exec $SHELL
- Install system utilities:
brew install ffmpeg brew install --cask libreoffice # optional but helpful
sudo apt update
sudo apt install -y git ffmpeg libreofficeInstall Miniforge:
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
bash Miniforge3-Linux-x86_64.sh
source ~/miniforge3/bin/activate
conda init bash
exec $SHELL✅ Checkpoint: git --version, conda --version, and ffmpeg -version all work in your terminal.
mkdir -p ~/Projects && cd ~/Projects
git clone https://github.com/FritscheLab/MeetingSecretaryAI.git
cd MeetingSecretaryAIOn Windows, run the same commands in PowerShell (paths will be under C:\Users\<you>\Projects). If Git prompts for credentials, use your GitHub username or PAT.
✅ Checkpoint: pwd (or Get-Location) ends with MeetingSecretaryAI.
We test with Python 3.9. Create an isolated environment so dependencies do not fight with system Python.
conda create -n meetingsecretaryai_env python=3.9 -y
conda activate meetingsecretaryai_envPrefer mamba? Swap conda create with mamba create. Prefer venv? See Appendix B.
✅ Checkpoint: python --version prints 3.9.x and the prompt shows (meetingsecretaryai_env).
pip install --upgrade pip
pip install -r requirements.txtIf installation fails because of Torch/onnxruntime on Windows, make sure the Miniforge (not Microsoft Store) Python is active. For Apple Silicon, Conda automatically installs the correct arm64 wheels.
✅ Checkpoint: python - <<'PY' ... snippet below runs without errors:
python - <<'PY'
import tkinter, whisperx
print("tkinter OK, whisperx OK")
PY- Hugging Face token (for larger WhisperX models)
You can also paste the token into the GUI (Settings → WhisperX).
mkdir -p ../MeetingSecretaryAI_Data echo "hf_your_token_here" > ../MeetingSecretaryAI_Data/.hf_token.txt
- Azure OpenAI credentials
- Copy
.env.exampleto.envand fill in the Azure endpoint/key values.
- Copy
- Custom templates
- Place DOCX/Markdown templates under
doc/templates/and updateconfig.iniif needed.
- Place DOCX/Markdown templates under
✅ Checkpoint: .env exists and contains your keys (or plan to enter them through the GUI later).
python - <<'PY'
import tkinter, whisperx
print("Python deps OK")
PY
ffmpeg -version
pytest -q # optional smoke testIf pytest is missing, install it with pip install pytest.
✅ Checkpoint: No errors from the commands above.
-
GUI (easiest)
conda activate meetingsecretaryai_env python meeting_secretary_gui.py
On macOS you can also double-click
launch_with_diagnostics.command. -
CLI workflow
python scripts/transcript2json.py sample.vtt > meeting.json python scripts/json_refine.py --input_json meeting.json --output_json meeting_refined.json python scripts/json2word.py meeting_refined.json bash scripts/generate_minutes.sh # convenience wrapper
Keep meetingsecretaryai_env activated whenever you work with the project.
- Update dependencies occasionally:
conda activate meetingsecretaryai_env conda update --all pip install --upgrade -r requirements.txt
- Back up your
.env, templates, and generated data (output lives inoutput/by default). - If you switch machines, copy the whole repo plus the
../MeetingSecretaryAI_Datafolder that stores tokens.
| Issue | Fix |
|---|---|
conda command not found |
Re-run conda init <shell> and restart the terminal. On Windows ensure you launched the Miniforge Prompt or PowerShell after running conda init. |
ffmpeg missing or wrong version |
Verify ffmpeg -version. If not found, reinstall via winget/brew/apt. Add it to PATH on Windows if you unpacked a ZIP manually. |
ImportError: No module named whisperx |
Confirm the env is active (conda activate meetingsecretaryai_env) and reinstall pip install whisperx. |
| GUI cannot access Zoom folder on macOS | System Settings → Privacy & Security → Files and Folders → allow Terminal or Python to access Documents. |
| Long path errors on Windows | Enable long paths once: run reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f from an elevated PowerShell and reboot. |
| Slow installs on Windows | Use Mambaforge so mamba resolves dependencies faster: winget install --id CondaForge.Mambaforge -e. |
Need more help? Open an issue with your OS version, Python version, and the exact command/output.
conda deactivate || true
conda env remove -n meetingsecretaryai_env -yRemove optional system packages with winget uninstall, brew uninstall, or sudo apt remove as needed. You can delete the repo folder to remove code, and delete ../MeetingSecretaryAI_Data if you no longer need cached tokens/models.
- Use the Miniforge Prompt (installed with Miniforge) if PowerShell keeps launching the wrong Python.
- File paths: When commands show
~/Projects, translate toC:\Users\<you>\Projects. - GPU acceleration: WhisperX can use NVIDIA GPUs if you install CUDA-enabled PyTorch inside the same environment. Follow the official instructions and then reinstall WhisperX.
Conda handles native dependencies (onnxruntime, PyTorch) for you. If you cannot use Conda:
python3.9 -m venv .venv
source .venv/bin/activate # PowerShell: .\.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
pip install -r requirements.txtYou must manually install ffmpeg and ensure the correct wheel builds exist for your platform.