KoljaB / RealtimeSTT

A robust, efficient, low-latency speech-to-text library with advanced voice activity detection, wake word activation and instant transcription.
MIT License
2.09k stars 190 forks source link

Wake words not working on a Mac #119

Open garlandwong opened 1 month ago

garlandwong commented 1 month ago

I was wondering how you solve the following issue. RealTimeSTT: root - ERROR - Error initializing porcupine wake word detection engine: dlopen(/Users/garlandwong/Documents/PycharmProjects/RealtimeSTT/venv/lib/python3.12/site-packages/pvporcupine/lib/mac/x86_64/libpv_porcupine.dylib, 0x0006): tried: '/Users/garlandwong/Documents/PycharmProjects/RealtimeSTT/venv/lib/python3.12/site-packages/pvporcupine/lib/mac/x86_64/libpv_porcupine.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/garlandwong/Documents/PycharmProjects/RealtimeSTT/venv/lib/python3.12/site-packages/pvporcupine/lib/mac/x86_64/libpv_porcupine.dylib' (no such file), '/Users/garlandwong/Documents/PycharmProjects/RealtimeSTT/venv/lib/python3.12/site-packages/pvporcupine/lib/mac/x86_64/libpv_porcupine.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')) Traceback (most recent call last):

Any help would be appreciated.