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.2.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10bae8d9395737c84d742cf10095140df450d4c50cc23e35fcf70139ba1d37f9 |
|
MD5 | f62b45487f4d5ac018641b963609fed8 |
|
BLAKE2b-256 | 60c6033e22539a87665c59f30f776af553a4447dbdfc3ca81ada2b0e8a5ddf77 |
Hashes for mac_voice_assistant-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 384429ee54e5efbbacce82c8d8797bff79f1dab2979d305a507d900e503ad6f9 |
|
MD5 | aaa6eb1cf48696b40e6f0963191e6b72 |
|
BLAKE2b-256 | 120961caca35e237e404e958f274f44f057923f1da827bea7931be9f97fa1026 |