树莓派语音对话

###代码

1
https://github.com/luyishisi/python_yuyinduihua

###安装环境

1
2
3
4
5
6
7
8
9
10
11
12
13
sudo apt-get install python-pyaudio
pip install numpy
# 先安裝 curl
wget http://curl.haxx.se/download/curl-7.21.3.tar.gz
tar xzf curl-7.21.3.tar.gz
./configure
make
make install
# 然後安装 pycurl
wget http://pycurl.sourceforge.net/download/pycurl-7.19.0.tar.gz
tar xzf pycurl-7.19.0.tar.gz
python setup.py install --curl-config=/usr/local/bin/curl-config