Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mac_voice_assistant-0.2.3.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mac_voice_assistant-0.2.3-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file mac_voice_assistant-0.2.3.tar.gz.

File metadata

  • Download URL: mac_voice_assistant-0.2.3.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.5

File hashes

Hashes for mac_voice_assistant-0.2.3.tar.gz
Algorithm Hash digest
SHA256 7b3a5b71b50f0f639e482a73396b390492b1756914d1a60276b3ef45bd5332bb
MD5 417f3e8a511975a81ce86ed566e766e8
BLAKE2b-256 f6646fb9e329ac776b2d427b1a83cc098ad2ce4cd8c1b4ae9ab3ebe407f7b654

See more details on using hashes here.

File details

Details for the file mac_voice_assistant-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mac_voice_assistant-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4ecd8a4c6bac0192ba71dd5dcd04d5ea82dbe69a3e2fba2a544d65faef1d020c
MD5 eef61d660c17efe29228a5bcb37c3953
BLAKE2b-256 68467d5a530f047890eaf6c1b4dc2ff4c8c05030be860983f46e121b2e2dd5e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page