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.2.tar.gz (10.6 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.2-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mac_voice_assistant-0.2.2.tar.gz
  • Upload date:
  • Size: 10.6 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.2.tar.gz
Algorithm Hash digest
SHA256 0f1d5ede3b33511d2be6c833ae576d4064029280ae357625c3015d2d4b5e78f6
MD5 8e5a3045dce2be2d3b0beb2fb7b15531
BLAKE2b-256 df9b344366392be22a8527c02f07039c09629c357bf50e9eede082462aa61f03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mac_voice_assistant-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0a9b3ea92b4c3ed257ceaa92d9886d7ae57dd00c38e62771e54ab7fe28ef317a
MD5 a67e86ad1e5ed339c8c24f34b98fa62d
BLAKE2b-256 a8a1f6ea53266da9845c04f90470883808077673f4f4fa9973e97fab30a59b5a

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