To set up the microWakeWord training environment, install the package and its specific dependencies. Note that certain packages are installed from forks to ensure compatibility with macOS and Jupyter environments.
Important: Restart your Python session after installation is complete.
# For macOS users, install the specific fork for pymicro-features
if platform.system() == "Darwin":
pip install 'git+https://github.com/puddly/pymicro-features@puddly/minimum-cpp-version'
# Install audio-metadata from a fork to prevent breaking Jupyter
pip install 'git+https://github.com/whatsnowplaying/audio-metadata@d4ebb238e6a401bb1a5aaaac60c9e2b3cb30929f'
# Clone and install microWakeWord in editable mode
git clone https://github.com/kahrendt/microWakeWord
pip install -e ./microWakeWord
import platform
if platform.system() == "Darwin":
!pip install 'git+https://github.com/puddly/pymicro-features@puddly/minimum-cpp-version'
!pip install 'git+https://github.com/whatsnowplaying/audio-metadata@d4ebb238e6a401bb1a5aaaac60c9e2b3cb30929f'
!git clone https://github.com/kahrendt/microWakeWord
!pip install -e ./microWakeWord