[bash] update
This commit is contained in:
1 parent
09a0865c5c
commit
423269f538
4 files changed
+58
-22
No files matched your search
@@ -12,13 +12,10 @@
|
||||
#### (1) 安装依赖项:
|
||||
|
||||
```
|
||||
sudo apt-get update
|
||||
sudo apt-get upgrade
|
||||
sudo apt-get install cmake g++ gcc
|
||||
sudo apt-get install python3-pip python3-dev portaudio19-dev libsndfile1
|
||||
|
||||
# wifi hotspot
|
||||
sudo pip install flask
|
||||
sudo apt-get update -y
|
||||
sudo apt-get upgrade -y
|
||||
sudo apt-get install -y cmake g++ gcc
|
||||
sudo apt-get install -y git swig python3-pip python3-dev portaudio19-dev libsndfile1 python3-setuptools
|
||||
```
|
||||
|
||||
#### (2) 克隆项目到本地并安装依赖:
|
||||
@@ -36,6 +33,15 @@ sudo pip install -v -e .
|
||||
pip install -r requirements/board_requirements.txt
|
||||
```
|
||||
|
||||
- WiringPi:用于控制GPIO
|
||||
|
||||
```
|
||||
cp -r /usr/src/wiringOP-Python/ ./
|
||||
cd wiringOP-Python
|
||||
python3 generate-bindings.py > bindings.i
|
||||
sudo python3 setup.py install
|
||||
```
|
||||
|
||||
#### (4) 下载相关模型文件:
|
||||
|
||||
- [Picovoice:](https://picovoice.ai/docs/quick-start/porcupine-python/)边缘端关键词唤醒模型
|
||||
@@ -47,5 +53,5 @@ pip install -r requirements/board_requirements.txt
|
||||
#### (5) 启动服务:
|
||||
|
||||
```
|
||||
python ws_client.py
|
||||
sudo python3 ws_client.py
|
||||
```
|
||||
Reference in new issue
Block a user