[Solved] Matrix Voice Google Assistant issue

I followed exactly the Hackster tutorial for installing the Google assistant but when testing the audio recording I get this error which I have not found a solution to yet.

 arecord --duration 5 --rate 16000 --format S16_LE est.wav
arecord: main:788: audio open error: Device or resource busy

sudo systemctl status matrixio-malos.service gives me this issue

 matrixio-malos.service - Matrix Abstraction Layer for OS
   Loaded: loaded (/lib/systemd/system/matrixio-malos.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2018-03-27 06:48:27 UTC; 1 day 1h ago
 Main PID: 570 (malos)
   CGroup: /system.slice/matrixio-malos.service
           └─570 /usr/bin/malos

Mar 28 07:54:40 raspberrypi malos[570]: can't send spi message
Mar 28 07:54:40 raspberrypi malos[570]: can't send spi message
Mar 28 07:54:40 raspberrypi malos[570]: can't send spi message
Mar 28 07:54:40 raspberrypi malos[570]: can't send spi message
Mar 28 07:54:40 raspberrypi malos[570]: can't send spi message
Mar 28 07:54:40 raspberrypi malos[570]: can't send spi message
Mar 28 07:54:40 raspberrypi malos[570]: can't send spi message
Mar 28 07:54:40 raspberrypi malos[570]: can't send spi message
Mar 28 07:54:40 raspberrypi malos[570]: can't send spi message
Mar 28 07:54:40 raspberrypi malos[570]: can't send spi message

In the /boot/config.txt is says dtparam=spi=on

the tutorial is installing the kernel modules and they are not compatible with the malos services / spi is disabled.

We recommend starting the Google Assitant guide from a clean Raspbian. As @loom mentioned this guide uses the kernel implementation that is not compatible with the malos service. Give it another change, start from scratch and let me know how it goes.

Ok will do from scratch

sudo apt install matrixio-creator-init
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 matrixio-creator-init : Depends: matrixio-xc3sprog but it is not going to be installed
E: Unable to correct problems, you have held broken packages.```

Are you still having this issue?
Did you do

sudo apt update

before

sudo apt install matrixio-creator-init

-Yoel

@yoelrc88 I got to the point of running GA but encountered this issue:

(env) pi@raspberrypi:~ $ ~/google-assistant-matrixio/google-matrixio-assistant-hotword --project_id β€œGoogle Assistant” --device_model_id matrix-voice-google-assistant-01
-bash: /home/pi/google-assistant-matrixio/google-matrixio-assistant-hotword: /home/pi/env/bin/python: bad interpreter: No such file or directory

Looks like a problem with python. Can you double check you didnt get any errors during the Install the SDK and Sample Code step?

@yoelrc88 I do not see any errors should I do the python install again. I installed the recommended 3 version

pi@raspberrypi:~/google-assistant-matrixio $ sudo apt-get install python3-dev python3-venv
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libpython3-dev libpython3.5-dev python3.5-dev python3.5-venv
The following NEW packages will be installed:
  libpython3-dev libpython3.5-dev python3-dev python3-venv python3.5-dev python3.5-venv
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 37.4 MB of archives.
After this operation, 48.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirror.reap.net.nz/raspbian/raspbian stretch/main armhf libpython3.5-dev armhf 3.5.3-1 [36.9 MB]
Get:4 http://raspbian.raspberrypi.org/raspbian stretch/main armhf python3-dev armhf 3.5.3-1 [1,158 B]
Get:6 http://raspbian.raspberrypi.org/raspbian stretch/main armhf python3-venv armhf 3.5.3-1 [1,066 B]
Get:2 http://mirror.reap.net.nz/raspbian/raspbian stretch/main armhf libpython3-dev armhf 3.5.3-1 [18.7 kB]
Get:3 http://mirror.reap.net.nz/raspbian/raspbian stretch/main armhf python3.5-dev armhf 3.5.3-1 [413 kB]
Get:5 http://mirror.reap.net.nz/raspbian/raspbian stretch/main armhf python3.5-venv armhf 3.5.3-1 [5,924 B]
Fetched 37.4 MB in 23s (1,574 kB/s)
Selecting previously unselected package libpython3.5-dev:armhf.
(Reading database ... 69467 files and directories currently installed.)
Preparing to unpack .../0-libpython3.5-dev_3.5.3-1_armhf.deb ...
Unpacking libpython3.5-dev:armhf (3.5.3-1) ...
Selecting previously unselected package libpython3-dev:armhf.
Preparing to unpack .../1-libpython3-dev_3.5.3-1_armhf.deb ...
Unpacking libpython3-dev:armhf (3.5.3-1) ...
Selecting previously unselected package python3.5-dev.
Preparing to unpack .../2-python3.5-dev_3.5.3-1_armhf.deb ...
Unpacking python3.5-dev (3.5.3-1) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../3-python3-dev_3.5.3-1_armhf.deb ...
Unpacking python3-dev (3.5.3-1) ...
Selecting previously unselected package python3.5-venv.
Preparing to unpack .../4-python3.5-venv_3.5.3-1_armhf.deb ...
Unpacking python3.5-venv (3.5.3-1) ...
Selecting previously unselected package python3-venv.
Preparing to unpack .../5-python3-venv_3.5.3-1_armhf.deb ...
Unpacking python3-venv (3.5.3-1) ...
Setting up python3.5-venv (3.5.3-1) ...
Setting up libpython3.5-dev:armhf (3.5.3-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up python3.5-dev (3.5.3-1) ...
Setting up libpython3-dev:armhf (3.5.3-1) ...
Setting up python3-venv (3.5.3-1) ...
Setting up python3-dev (3.5.3-1) ...
pi@raspberrypi:~/google-assistant-matrixio $ python3 -m venv env
pi@raspberrypi:~/google-assistant-matrixio $ env/bin/python -m pip install --upgrade pip setuptools wheel
Collecting pip
  Downloading pip-9.0.3-py2.py3-none-any.whl (1.4MB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1.4MB 188kB/s
Collecting setuptools
  Downloading setuptools-39.0.1-py2.py3-none-any.whl (569kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 573kB 397kB/s
Collecting wheel
  Downloading wheel-0.31.0-py2.py3-none-any.whl (41kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 51kB 1.4MB/s
Installing collected packages: pip, setuptools, wheel
  Found existing installation: pip 9.0.1
    Uninstalling pip-9.0.1:
      Successfully uninstalled pip-9.0.1
  Found existing installation: setuptools 33.1.1
    Uninstalling setuptools-33.1.1:
      Successfully uninstalled setuptools-33.1.1
Successfully installed pip-9.0.3 setuptools-39.0.1 wheel-0.31.0
pi@raspberrypi:~/google-assistant-matrixio $ source env/bin/activate
(env) pi@raspberrypi:~/google-assistant-matrixio $ sudo apt-get install portaudio19-dev libffi-dev libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libasound2-dev libjack-dev libjack0 libportaudio2 libportaudiocpp0 libssl-doc uuid-dev
Suggested packages:
  libasound2-doc jackd1 portaudio19-doc
The following NEW packages will be installed:
  libasound2-dev libffi-dev libjack-dev libjack0 libportaudio2 libportaudiocpp0 libssl-dev libssl-doc portaudio19-dev uuid-dev
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,767 kB of archives.
After this operation, 13.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.raspberrypi.org/debian stretch/main armhf libasound2-dev armhf 1.1.3-5+rpi3 [262 kB]
Get:2 http://mirror.reap.net.nz/raspbian/raspbian stretch/main armhf libffi-dev armhf 3.2.1-6 [159 kB]
Get:3 http://mirror.reap.net.nz/raspbian/raspbian stretch/main armhf libjack0 armhf 1:0.125.0-2 [50.4 kB]
Get:4 http://mirror.reap.net.nz/raspbian/raspbian stretch/main armhf uuid-dev armhf 2.29.2-1+deb9u1 [83.2 kB]
Get:5 http://mirror.reap.net.nz/raspbian/raspbian stretch/main armhf libjack-dev armhf 1:0.125.0-2 [211 kB]
Get:6 http://mirror.reap.net.nz/raspbian/raspbian stretch/main armhf libportaudio2 armhf 19.6.0-1 [56.9 kB]
Get:7 http://mirror.reap.net.nz/raspbian/raspbian stretch/main armhf libportaudiocpp0 armhf 19.6.0-1 [16.8 kB]
Get:8 http://mirror.reap.net.nz/raspbian/raspbian stretch/main armhf libssl-dev armhf 1.1.0f-3+deb9u2 [1,370 kB]
Get:9 http://mirror.reap.net.nz/raspbian/raspbian stretch/main armhf libssl-doc all 1.1.0f-3+deb9u2 [1,459 kB]
Get:10 http://mirror.reap.net.nz/raspbian/raspbian stretch/main armhf portaudio19-dev armhf 19.6.0-1 [98.6 kB]
Fetched 3,767 kB in 6s (550 kB/s)
Selecting previously unselected package libasound2-dev:armhf.
(Reading database ... 69626 files and directories currently installed.)
Preparing to unpack .../0-libasound2-dev_1.1.3-5+rpi3_armhf.deb ...
Unpacking libasound2-dev:armhf (1.1.3-5+rpi3) ...
Selecting previously unselected package libffi-dev:armhf.
Preparing to unpack .../1-libffi-dev_3.2.1-6_armhf.deb ...
Unpacking libffi-dev:armhf (3.2.1-6) ...
Selecting previously unselected package libjack0:armhf.
Preparing to unpack .../2-libjack0_1%3a0.125.0-2_armhf.deb ...
Unpacking libjack0:armhf (1:0.125.0-2) ...
Selecting previously unselected package uuid-dev:armhf.
Preparing to unpack .../3-uuid-dev_2.29.2-1+deb9u1_armhf.deb ...
Unpacking uuid-dev:armhf (2.29.2-1+deb9u1) ...
Selecting previously unselected package libjack-dev.
Preparing to unpack .../4-libjack-dev_1%3a0.125.0-2_armhf.deb ...
Unpacking libjack-dev (1:0.125.0-2) ...
Selecting previously unselected package libportaudio2:armhf.
Preparing to unpack .../5-libportaudio2_19.6.0-1_armhf.deb ...
Unpacking libportaudio2:armhf (19.6.0-1) ...
Selecting previously unselected package libportaudiocpp0:armhf.
Preparing to unpack .../6-libportaudiocpp0_19.6.0-1_armhf.deb ...
Unpacking libportaudiocpp0:armhf (19.6.0-1) ...
Selecting previously unselected package libssl-dev:armhf.
Preparing to unpack .../7-libssl-dev_1.1.0f-3+deb9u2_armhf.deb ...
Unpacking libssl-dev:armhf (1.1.0f-3+deb9u2) ...
Selecting previously unselected package libssl-doc.
Preparing to unpack .../8-libssl-doc_1.1.0f-3+deb9u2_all.deb ...
Unpacking libssl-doc (1.1.0f-3+deb9u2) ...
Selecting previously unselected package portaudio19-dev:armhf.
Preparing to unpack .../9-portaudio19-dev_19.6.0-1_armhf.deb ...
Unpacking portaudio19-dev:armhf (19.6.0-1) ...
Setting up libasound2-dev:armhf (1.1.3-5+rpi3) ...
Setting up libjack0:armhf (1:0.125.0-2) ...
Setting up libportaudio2:armhf (19.6.0-1) ...
Processing triggers for install-info (6.3.0.dfsg.1-1+b1) ...
Setting up libssl-dev:armhf (1.1.0f-3+deb9u2) ...
Setting up uuid-dev:armhf (2.29.2-1+deb9u1) ...
Setting up libffi-dev:armhf (3.2.1-6) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up libssl-doc (1.1.0f-3+deb9u2) ...
Setting up libjack-dev (1:0.125.0-2) ...
Setting up libportaudiocpp0:armhf (19.6.0-1) ...
Setting up portaudio19-dev:armhf (19.6.0-1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
(env) pi@raspberrypi:~/google-assistant-matrixio $ python -m pip install --upgrade google-assistant-library
Collecting google-assistant-library
  Downloading google_assistant_library-0.1.1-py2.py3-none-linux_armv7l.whl (7.3MB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 7.3MB 39kB/s
Collecting google-auth==1.0.1 (from google-assistant-library)
  Downloading google_auth-1.0.1-py2.py3-none-any.whl (58kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 61kB 1.2MB/s
Collecting enum34==1.1.6 (from google-assistant-library)
  Downloading enum34-1.1.6-py3-none-any.whl
Collecting requests==2.14.2 (from google-assistant-library)
  Downloading requests-2.14.2-py2.py3-none-any.whl (560kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 563kB 411kB/s
Collecting argparse==1.4.0 (from google-assistant-library)
  Downloading argparse-1.4.0-py2.py3-none-any.whl
Collecting six>=1.9.0 (from google-auth==1.0.1->google-assistant-library)
  Downloading six-1.11.0-py2.py3-none-any.whl
Collecting rsa>=3.1.4 (from google-auth==1.0.1->google-assistant-library)
  Downloading rsa-3.4.2-py2.py3-none-any.whl (46kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 51kB 1.2MB/s
Collecting pyasn1-modules>=0.0.5 (from google-auth==1.0.1->google-assistant-library)
  Downloading pyasn1_modules-0.2.1-py2.py3-none-any.whl (60kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 61kB 1.1MB/s
Collecting pyasn1>=0.1.7 (from google-auth==1.0.1->google-assistant-library)
  Downloading pyasn1-0.4.2-py2.py3-none-any.whl (71kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 71kB 1.2MB/s
Collecting cachetools>=2.0.0 (from google-auth==1.0.1->google-assistant-library)
  Downloading cachetools-2.0.1-py2.py3-none-any.whl
Installing collected packages: six, pyasn1, rsa, pyasn1-modules, cachetools, google-auth, enum34, requests, argparse, google-assistant-library
Successfully installed argparse-1.4.0 cachetools-2.0.1 enum34-1.1.6 google-assistant-library-0.1.1 google-auth-1.0.1 pyasn1-0.4.2 pyasn1-modules-0.2.1 requests-2.14.2 rsa-3.4.2 six-1.11.0
(env) pi@raspberrypi:~/google-assistant-matrixio $ python -m pip install --upgrade google-assistant-sdk[samples]
Collecting google-assistant-sdk[samples]
  Downloading google_assistant_sdk-0.4.4-py2.py3-none-any.whl
Collecting google-auth-oauthlib[tool]>=0.1.0 (from google-assistant-sdk[samples])
  Downloading google_auth_oauthlib-0.2.0-py2.py3-none-any.whl
Collecting google-assistant-grpc==0.1.0; extra == "samples" (from google-assistant-sdk[samples])
  Downloading google_assistant_grpc-0.1.0-py2.py3-none-any.whl
Collecting futures<4,>=3.1.1; extra == "samples" (from google-assistant-sdk[samples])
  Downloading https://www.piwheels.org/simple/futures/futures-3.1.1-py3-none-any.whl
Collecting sounddevice<0.4,>=0.3.7; extra == "samples" (from google-assistant-sdk[samples])
  Downloading sounddevice-0.3.10-py2.py3-none-any.whl
Collecting click<7,>=6.7; extra == "samples" (from google-assistant-sdk[samples])
  Downloading click-6.7-py2.py3-none-any.whl (71kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 71kB 507kB/s
Collecting urllib3[secure]<2,>=1.21; extra == "samples" (from google-assistant-sdk[samples])
  Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 133kB 933kB/s
Collecting pathlib2<3,>=2.3.0; extra == "samples" (from google-assistant-sdk[samples])
  Downloading pathlib2-2.3.0-py2.py3-none-any.whl
Collecting tenacity<5,>=4.1.0; extra == "samples" (from google-assistant-sdk[samples])
  Downloading tenacity-4.9.0-py2.py3-none-any.whl
Collecting google-auth (from google-auth-oauthlib[tool]>=0.1.0->google-assistant-sdk[samples])
  Downloading google_auth-1.4.1-py2.py3-none-any.whl (65kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 71kB 1.2MB/s
Collecting requests-oauthlib>=0.7.0 (from google-auth-oauthlib[tool]>=0.1.0->google-assistant-sdk[samples])
  Downloading requests_oauthlib-0.8.0-py2.py3-none-any.whl
Collecting grpcio>=1.3.5 (from google-assistant-grpc==0.1.0; extra == "samples"->google-assistant-sdk[samples])
  Downloading grpcio-1.10.0-cp35-cp35m-linux_armv7l.whl (6.7MB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 6.7MB 42kB/s
Collecting googleapis-common-protos>=1.5.2 (from google-assistant-grpc==0.1.0; extra == "samples"->google-assistant-sdk[samples])
  Downloading https://www.piwheels.org/simple/googleapis-common-protos/googleapis_common_protos-1.5.3-py3-none-any.whl (60kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 61kB 102kB/s
Collecting CFFI>=1.0 (from sounddevice<0.4,>=0.3.7; extra == "samples"->google-assistant-sdk[samples])
  Downloading https://www.piwheels.org/simple/cffi/cffi-1.11.5-cp35-cp35m-linux_armv7l.whl (304kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 307kB 285kB/s
Collecting certifi; extra == "secure" (from urllib3[secure]<2,>=1.21; extra == "samples"->google-assistant-sdk[samples])
  Downloading certifi-2018.1.18-py2.py3-none-any.whl (151kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 153kB 943kB/s
Requirement already up-to-date: six in ./env/lib/python3.5/site-packages (from pathlib2<3,>=2.3.0; extra == "samples"->google-assistant-sdk[samples])
Collecting monotonic>=0.6 (from tenacity<5,>=4.1.0; extra == "samples"->google-assistant-sdk[samples])
  Downloading monotonic-1.4-py2.py3-none-any.whl
Requirement already up-to-date: cachetools>=2.0.0 in ./env/lib/python3.5/site-packages (from google-auth->google-auth-oauthlib[tool]>=0.1.0->google-assistant-sdk[samples])
Requirement already up-to-date: pyasn1-modules>=0.2.1 in ./env/lib/python3.5/site-packages (from google-auth->google-auth-oauthlib[tool]>=0.1.0->google-assistant-sdk[samples])
Requirement already up-to-date: rsa>=3.1.4 in ./env/lib/python3.5/site-packages (from google-auth->google-auth-oauthlib[tool]>=0.1.0->google-assistant-sdk[samples])
Collecting requests>=2.0.0 (from requests-oauthlib>=0.7.0->google-auth-oauthlib[tool]>=0.1.0->google-assistant-sdk[samples])
  Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 92kB 1.1MB/s
Collecting oauthlib>=0.6.2 (from requests-oauthlib>=0.7.0->google-auth-oauthlib[tool]>=0.1.0->google-assistant-sdk[samples])
  Downloading oauthlib-2.0.7-py2.py3-none-any.whl (124kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 133kB 1.0MB/s
Collecting protobuf>=3.5.0.post1 (from grpcio>=1.3.5->google-assistant-grpc==0.1.0; extra == "samples"->google-assistant-sdk[samples])
  Downloading protobuf-3.5.2.post1-py2.py3-none-any.whl (388kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 389kB 527kB/s
Collecting pycparser (from CFFI>=1.0->sounddevice<0.4,>=0.3.7; extra == "samples"->google-assistant-sdk[samples])
  Downloading https://www.piwheels.org/simple/pycparser/pycparser-2.18-py2.py3-none-any.whl (209kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 215kB 693kB/s
Requirement already up-to-date: pyasn1<0.5.0,>=0.4.1 in ./env/lib/python3.5/site-packages (from pyasn1-modules>=0.2.1->google-auth->google-auth-oauthlib[tool]>=0.1.0->google-assistant-sdk[samples])
Collecting idna<2.7,>=2.5 (from requests>=2.0.0->requests-oauthlib>=0.7.0->google-auth-oauthlib[tool]>=0.1.0->google-assistant-sdk[samples])
  Downloading idna-2.6-py2.py3-none-any.whl (56kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 61kB 854kB/s
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.0.0->requests-oauthlib>=0.7.0->google-auth-oauthlib[tool]>=0.1.0->google-assistant-sdk[samples])
  Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 143kB 1.0MB/s
Requirement already up-to-date: setuptools in ./env/lib/python3.5/site-packages (from protobuf>=3.5.0.post1->grpcio>=1.3.5->google-assistant-grpc==0.1.0; extra == "samples"->google-assistant-sdk[samples])
Installing collected packages: google-auth, idna, chardet, certifi, urllib3, requests, oauthlib, requests-oauthlib, click, google-auth-oauthlib, protobuf, grpcio, googleapis-common-protos, google-assistant-grpc, futures, pycparser, CFFI, sounddevice, pathlib2, monotonic, tenacity, google-assistant-sdk
  Found existing installation: google-auth 1.0.1
    Uninstalling google-auth-1.0.1:
      Successfully uninstalled google-auth-1.0.1
  Found existing installation: requests 2.14.2
    Uninstalling requests-2.14.2:
      Successfully uninstalled requests-2.14.2
Successfully installed CFFI-1.11.5 certifi-2018.1.18 chardet-3.0.4 click-6.7 futures-3.1.1 google-assistant-grpc-0.1.0 google-assistant-sdk-0.4.4 google-auth-1.4.1 google-auth-oauthlib-0.2.0 googleapis-common-protos-1.5.3 grpcio-1.10.0 idna-2.6 monotonic-1.4 oauthlib-2.0.7 pathlib2-2.3.0 protobuf-3.5.2.post1 pycparser-2.18 requests-2.18.4 requests-oauthlib-0.8.0 sounddevice-0.3.10 tenacity-4.9.0 urllib3-1.22
(env) pi@raspberrypi:~/google-assistant-matrixio $ python -m pip install --upgrade google-auth-oauthlib[tool]
Requirement already up-to-date: google-auth-oauthlib[tool] in ./env/lib/python3.5/site-packages
Requirement already up-to-date: google-auth in ./env/lib/python3.5/site-packages (from google-auth-oauthlib[tool])
Requirement already up-to-date: requests-oauthlib>=0.7.0 in ./env/lib/python3.5/site-packages (from google-auth-oauthlib[tool])
Requirement already up-to-date: click; extra == "tool" in ./env/lib/python3.5/site-packages (from google-auth-oauthlib[tool])
Requirement already up-to-date: six>=1.9.0 in ./env/lib/python3.5/site-packages (from google-auth->google-auth-oauthlib[tool])
Requirement already up-to-date: pyasn1-modules>=0.2.1 in ./env/lib/python3.5/site-packages (from google-auth->google-auth-oauthlib[tool])
Requirement already up-to-date: rsa>=3.1.4 in ./env/lib/python3.5/site-packages (from google-auth->google-auth-oauthlib[tool])
Requirement already up-to-date: cachetools>=2.0.0 in ./env/lib/python3.5/site-packages (from google-auth->google-auth-oauthlib[tool])
Requirement already up-to-date: requests>=2.0.0 in ./env/lib/python3.5/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib[tool])
Requirement already up-to-date: oauthlib>=0.6.2 in ./env/lib/python3.5/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib[tool])
Requirement already up-to-date: pyasn1<0.5.0,>=0.4.1 in ./env/lib/python3.5/site-packages (from pyasn1-modules>=0.2.1->google-auth->google-auth-oauthlib[tool])
Requirement already up-to-date: urllib3<1.23,>=1.21.1 in ./env/lib/python3.5/site-packages (from requests>=2.0.0->requests-oauthlib>=0.7.0->google-auth-oauthlib[tool])
Requirement already up-to-date: idna<2.7,>=2.5 in ./env/lib/python3.5/site-packages (from requests>=2.0.0->requests-oauthlib>=0.7.0->google-auth-oauthlib[tool])
Requirement already up-to-date: chardet<3.1.0,>=3.0.2 in ./env/lib/python3.5/site-packages (from requests>=2.0.0->requests-oauthlib>=0.7.0->google-auth-oauthlib[tool])
Requirement already up-to-date: certifi>=2017.4.17 in ./env/lib/python3.5/site-packages (from requests>=2.0.0->requests-oauthlib>=0.7.0->google-auth-oauthlib[tool])

I don’t see any problem here either. Will try to follow the guide again to see if I can replicate the error.
Can you please post all the output of the setup if you decide to give it a try one more time from scratch?

Thank you

-Yoel

Hey, i did the setup 1h ago and everything is working perfect with Kernel 4.14.30-v7+.

I redid the Google SDK setup and now it works! Awesome! BUt no idea why it failed previously :frowning:

@yoelrc88 Thanks for replying though and attempting to help. BTW when can one use ones own hotword?

1 Like

Glad to hear that. Will mark this as solved.

Regarding the hotword I will try to setup the snowboy option an will share here in few days.

1 Like

Hey is there anyway that someone can help me install my matrix voice? I have all the materials but having a hard time getting started. I’m willing to pay you for the help. Thanks

Hi @Antwone_w1997,

We can definitely help you out to get started. What do you have in mind to test or build with MATRIX Voice. If you just want to test some examples go and follow instructions for MATRIX CORE here or HAL (Lower level library in C++) here. Both have examples.

You can also try to run Google Assitant or Alexa using MATRIX Voice as audio input.

-Yoel

Thanks , I have a matrix voice and raspberry pi. Anything that I can do with that is fine . It’s for a senior project . There was a project I found on hackster , but I’m having a hard time getting started downloading the matrix software .

That’s OK, give it a try and let us know where you get stock. It might be helpful to open a new post for an specific issue in the future.

-Yoel

If you go on hackster.io, I was trying to perform the project called β€œmatrix voice and matrix creator running google assistant” and I’m stuck on step 1 trying to download the matrix software

Please, to power up the Raspberry Pi / MATRIX Voice is enough powering the Raspebrry Pi, the MATRIX Voice board gets power from the Rasp Pi GPIO.

Also I don’t see a SD Card inserted in the Raspberry Pi board. Make sure it is flash with Raspbian OS and inserted before powering up the board.

General steps for starting would be:

  • Download image from https://downloads.raspberrypi.org/raspbian_lite_latest
  • unzip the file
  • Flash the sd card. You can get help from here
  • Insert already flashed SD Card in the Rasp Pi.
  • Connect MATRIX Voice to the Rasp Pi as you did in the photos.
  • Connect the Rasp Pi to power (Not the MATRIX Voice).
  • Waiting around a minute an try to connect to it using SSH . Help here .
  • You can algo connect a HDMI display, keyboard and mouse using the USB connector in the Rasp Pi.

After this you can start installing the required software or just following the guide.

-Yoel