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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mac_voice_assistant-0.2.4.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.4.tar.gz
Algorithm Hash digest
SHA256 8495fa58c84ce0bb40dfe06a4df1f0d136ea6d81c2f13820316d7a8a63942b76
MD5 56fefef1ae10010f7af65b3e6e778134
BLAKE2b-256 6faa7eaaf91debbee96f88b093183c2941b4630a5365c8783947bd178d4dbb69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mac_voice_assistant-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5347a75a96f086bab9b5b5d9a1ec02e07112ef3fcff1e0b76479f1b8f9afad94
MD5 7bbf594e9610e81c8927370b6e2288c0
BLAKE2b-256 2dab95072eac4eaaad5c46b1b68e98fd906ecd004a8134e750667bc35054da05

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