| ||
sudo apt-get install python-dateutil \
gstreamer1.0 \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-ugly \
python-gi \
python-gst-1.0 \
gir1.2-gstreamer-1.0
sudo apt-get install python-dev libatlas-base-dev
sudo pip install tornado #用来完成auth认证
sudo pip install hyper #用来支持http2.0 clientsudo apt-get install python-dateutil
Ubuntu16.04 64位
Python 2.7
通过git下载代码到本地
#git clone https://github.com/MyDuerOS/DuerOS-Python-Client.git
注册获得百度开发者信息项目运行
将CLIENT_ID和CLIENT_SECRET的序列号添加到/app/auth.py
在DuerOS-Python-Client目录下执行
#./auth.sh
通过[Enter]键触发唤醒状态
#./enter_trigger_start.sh
通过关键字[小度小度]唤醒状态
#./wakeup_trigger_start.sh