A voice assistant prototype
Project description
1. Brew
- Run the following in your project terminal if you do not have brew installed already
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2. Portaudio
$ brew install portaudio
3. PyAudio
$ pip3 install pyaudio
If Pyaudio cannot be installed with the default pip install command, Use instead the following:
$ pip install --global-option='build_ext' --global-option='-I/usr/local/include' --global-option='-L/usr/local/lib' pyaudio
Refer to this link if this is not working
4. Command Line Developer Tools - XCode (Mac Users)
Please ensure Xcode packages are up-to-date. Try running
$ sudo xcodebuild -license
$ xcodebuild -runFirstLaunch
Start
While being in the venv $ python main.py
- If you run into SSL certification error, search for
Certificates.command
in spotlight and open the file. It should install the necessary certificates
The downloader script is broken. As a temporal workaround can manually download the punkt tokenizer from here and then place the unzipped folder in the corresponding location. The default folders for each OS are:
Windows:
C:\nltk_data\tokenizers
OSX:
/usr/local/share/nltk_data/tokenizers
Unix:
/usr/share/nltk_data/tokenizers
Required libraries:
$ pip install keyboard
$ pip install pyjokes
$ pip install playsound
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mac_voice_assistant-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b5be37da36aaf6420475ac990494187b63bd561b4be27b4f0585fb52a93b69f |
|
MD5 | acca2987020c060a73c2bbed17a3b21f |
|
BLAKE2b-256 | 23e890bf922a472d0f1ef9466a5389e5829f89bacad2ef7682be30b3be2735fe |
Hashes for mac_voice_assistant-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0081f7eaf5ce63354003080eac676695b478ed655517d150c8ef822ccb862dac |
|
MD5 | c07faffc54e62a7d67b206fc515583e0 |
|
BLAKE2b-256 | f8c6be86669c2291b76dfed13af907a223f78fa29a1937593fe13dd60f563a16 |