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.1.2.tar.gz (10.9 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.1.2-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mac_voice_assistant-0.1.2.tar.gz
  • Upload date:
  • Size: 10.9 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.1.2.tar.gz
Algorithm Hash digest
SHA256 a168135a27729b6233f45fc42753680eead30f8e2ebb18883c4c2af8499d6d72
MD5 21f2734ac66ff89c82136e674eb61c70
BLAKE2b-256 316c44df949d2e42382a73e0547a59059d00e7f54a5a265f694386f75d935313

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mac_voice_assistant-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 420fe203fcc80dcf8f3eae0cd7a0ff3fd8928796cb7c3661ca11c8f2259c7eb2
MD5 dfc8b59c7dee6dd0006c4bd645ef2414
BLAKE2b-256 69c7515b95b3eccc120f95816d25eb5b474debfec6d9c9c131bc57e7e9892ed9

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