Anyway, I worked through the super simple gnu hello "build your first snap" example and then thought I'd try something harder and picked google assistant. Since it's all available through pip I figured all I should have to do was create a .yaml that installed google assistant stuff straight from there at which point I thought I'd be able to add an "apps" section that allowed me to call some of the samples like "googlesamples-assistant-pushtotalk".
Calling the google-oathlib[tool] does indeed work just as expected however googlesamples-assistant-pushtotalk does produces this error:
Code: Select all
File "/snap/ga-matt-test/x2/lib/python3.5/site-packages/sounddevice.py", line 2634, in _initialize
_check(_lib.Pa_Initialize(), 'Error initializing PortAudio')
ffi.error: symbol 'Pa_Initialize' not found in library '<None>': /snap/ga-matt-test/x2/usr/bin/python3: undefined symbol: Pa_Initialize
I assume this is because the snap I've built needs a bunch of extra libraries to support sound but that's the limit of my knowledge. Can someone explain what's going on or point me at some reading material?