Comments (3)
@al-jimenez I had that issue as well. I was able to get things working by running the main.py script in python3 and installing related python3/pip3 dependencies. Here are some thoughts:
- edit your main.py script based on this github code from jitto:
jitto@0604ac3 - apt-get install python3-pip
- pip3 install python3-memcached
- pip3 install pyalsaudio
- edit your /usr/share/alsa/alsa.conf file so that "pcm.front cards.pcm.front" is renamed "pcm.front cards.pcm.default"
- reboot
- run the setup_gpio.sh script at startup
- run python3 main.py
Reference the CHIP forum below for more details. I'm actually using the header pin MIC rather than USB mic so your implementation might be a little different.
https://bbs.nextthing.co/t/turning-the-chip-into-an-amazon-echo/1630/29
from alexachipdeprecated.
@1elbaz I got stuck at step 4. pip3 install pyalsaudio until I realize that this was a typo (after Googling). It should be:
- pip3 install pyalsaaudio
from alexachipdeprecated.
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:
- support for a wide range of devices and platforms (Raspberry Pi, CHIP, Orange Pi, desktops, Magic Mirror and others)
- voice activation (great PocketSphinx support and snowboy support soon to be released)
- much more robust installation and configuration
- better security
- Arch Linux support
- awesome documentation
- and much, much more! You get it - it's just awesome.
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.
from alexachipdeprecated.
Related Issues (15)
- AVS response time HOT 1
- Errors on running setup_gpio.sh HOT 2
- mpg321 command not found HOT 1
- Kernel4.4 Error on running main.py HOT 1
- Main.py never printing ready HOT 5
- Transfer to org HOT 1
- Handling of blank audio HOT 4
- main.py resource busy, failing line 126 HOT 1
- Support for wake word? HOT 2
- AttributeError: Wave_read instance has no attribute '__exit__' HOT 11
- After initial response, Alexa will not take further action. HOT 2
- [Enhancement] Improve the setup guide + Bringing up to par with AlexaPi HOT 1
- Confirmation of IFTTT compatibility
- Auth issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alexachipdeprecated.