-
Notifications
You must be signed in to change notification settings - Fork 439
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
Traceback (most recent call last): File "main.py", line 25, in <module> import webrtcvad ImportError: No module named webrtcvad #119
Comments
I'm guessing this is for my 1.2 version, considering that's where there's a main.py where line 25 says Somehow you've missed the installation of webrtcvad. Try typing |
It works and another error import pocketsphinx.pocketsphinx |
i tried to install : pip install pocketsphinx but i got this error... -- http://hastebin.com/utazadizar.tex |
Did you install AlexaPi by running setup.sh? 1.) Login as root These things should be taken care of if you've already done that. |
Have you cats been looking at silence detection? |
Yeah. It works quite well on my 1.2 branch. |
I am using snowboy at this point, but wanting to pick a lot of your button stuff. What is the best upstream there? |
Also, maso27, here is a pretend trophy for just being a badass carrying this project on. |
@illperipherals Can you Tell Me how to set Alexa with snowboy..? |
@illperipherals Thanks, man. My family uses my AlexaPi daily, so it's fun to keep thinking about it. I've been wanting to get it into github but I just started a new job so my time is limited lately. Hopefully you can do something with that. |
@jaydev1997 It took me some work to get snowboy working. I took notes for what I did, and maybe they'll be helpful: (note: login as pi instead of root for this) Git clone https://github.com/bdatdo0601/AlexaPi |
@maso27, nice! Give me a bit to dig in. Break a leg on the new job. @jaydev1997, I have some notes that I have whipped myself into making. What issues are you having? I assume they are probably audio... Can you do just a general lsusb, aplay -L, arecord -L dump? |
I was able to resolve a couple issues here: |
@illperipherals |
@maso27 root@pi:/home/pi/AlexaPi# python main.py |
@jaydev1997 @illperipherals You have the wrong repo...? maybe |
i already done the setup also the localhost:5050 setup.. then i rebooted. |
@jaydev1997 If you're still messing with this--I've discovered something wrong with setup.sh. Stay tuned... Edit: nevermind. The changes I found were purposeful. But try going into /root/AlexaPi and typing |
I had the same webrtcavd error. Running the pip install webrtcvad got me past the error, but thei I also received the pocketsphinx error as @jaydev1997. The error message seemed to indicate that pocketsphinx could not install because pulseaudio is missing or at least "pulse/pulseaudio.h" is not where it should be. I tried installing pulseaudio, but it does not appear to have helped. I chose not to install airplay at the beginning of the setup. I don't know if that has any bearing on this. |
@jaydev1997 If you do an |
@pagespec1 Yes! That fixes it! In a nutshell: "pip install pocketsphinx" installs sphinxbase first, in order to build pocketsphinx. Sphinxbase has a (new?) dependency for libpulse-dev, so it errors out if it doesn't have that. Webrtcvad just doesn't get installed. I've fixed the repo so that should no longer be an issue in version1.2 of my branch. (as an aside: "apt-get install pocketsphinx python-pocketsphinx" does NOT work. Even after fixing the includes, it can't find "Decoder.default_config()") |
Do you still have issues with this? |
This project is now deprecated in favor of the new AlexaPi (https://github.com/alexa-pi/AlexaPi) which has all the features of this project and much more, such as:
Please switch over to the new project and if your issue persists there, file an issue in the new repo's issue tracker. Thank you. |
Traceback (most recent call last):
File "main.py", line 25, in
import webrtcvad
ImportError: No module named webrtcvad
The text was updated successfully, but these errors were encountered: