avs icon indicating copy to clipboard operation
avs copied to clipboard

a problem cuased by pyaudio

Open Curricane opened this issue 6 years ago • 1 comments

  • Python Alexa Voice Service version:
  • Python version:3.6.7
  • Operating System:Ubuntu 16

Description

Describe what you were trying to get done. iat last,when a run "alexa", it told me that : (py3) zz@zz:~/py3/avs$ alexa Traceback (most recent call last): File "/usr/local/bin/alexa", line 11, in load_entry_point('avs==0.5.4', 'console_scripts', 'alexa')() File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 480, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2693, in load_entry_point return ep.load() File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2324, in load return self.resolve() File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2330, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/usr/local/lib/python3.6/dist-packages/avs-0.5.4-py3.6.egg/avs/main.py", line 22, in from respeaker.pixel_ring import pixel_ring File "/usr/local/lib/python3.6/dist-packages/respeaker/init.py", line 18, in from respeaker.microphone import Microphone File "/usr/local/lib/python3.6/dist-packages/respeaker/microphone.py", line 33, in import pyaudio ModuleNotFoundError: No module named 'pyaudio

What I Did

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

Curricane avatar Jan 14 '19 12:01 Curricane

It seems pyaudio is not installed. To install it, run sudo apt install python3-pyaudio or sudo pip3 install pyaudio

xiongyihui avatar Jan 25 '19 05:01 xiongyihui