Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a problem cuased by pyaudio #30

Open
Curricane opened this issue Jan 14, 2019 · 1 comment
Open

a problem cuased by pyaudio #30

Curricane opened this issue Jan 14, 2019 · 1 comment

Comments

@Curricane
Copy link

  • 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.
@xiongyihui
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants