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.1.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.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mac_voice_assistant-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 005a45dec36c87d5c81b6e4b7632e0d89dec70e1225776c99e613b54e381c21d
MD5 19461ecf0cba0004e3021af352e41036
BLAKE2b-256 2d3ce8e17e32fd78f727131f395bc0bb785eab68db6ed389a84bae66d54c5bce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mac_voice_assistant-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a462d95185335074f215b57a4fd7a305277aa562ddd906b4e731d61c5b7afc5b
MD5 9ea5b46c1456f96cd83700ea79068f16
BLAKE2b-256 67941d390308142b625bcb4b27913338722255fb9ba89d9582c6221491c694ff

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