---
# System prepended metadata

title: Speaker dependence
tags: [Speaker]

---

# Speaker dependence
###### tags: `Speaker`

系統設置
```txt=
sudo apt install python3-gst-1.0
sudo apt-get install alsa-utils # can't specify version like alsa-utils-1.2.2
sudo apt-get install -y ofono
sudo apt-get install -y flac
sudo apt-get install -y libasound-dev
sudo apt-get install -y portaudio19-dev
sudo apt-get install -y python3-pyaudio
sudo apt-get install -y vlc
sudo apt install libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0
sudo apt install llvm-11-dev
sudo rm /usr/bin/llvm-config
sudo ln -s /usr/bin/llvm-config-11 /usr/bin/llvm-config
```

pip 的東西
> 要使用 python3.7 -m pip install --user -r requirements.txt 來安裝
```txt= requirements.txt
setuptools==59.5.0
llvmlite==0.37.0
playsound==1.3.0
pyaudio==0.2.11
pygobject==3.38.0
pypinyin==0.44.0
cn2an==0.5.14
setuptools==59.5.0
python-vlc==3.0.12118
youtube-dl==2021.12.17
google-api-python-client==2.33.0
urllib3==1.26.4
requests-html==0.10.0
pygame==1.9.6
speechrecognition==3.8.1
gtts==2.2.3
librosa==0.8.1
textblob==0.17.1
numpy==1.20
dbus-python==1.2.18
python-dotenv==0.19.2
requests==2.26.0
gpiozero==1.6.2
schedule==1.1.0
pytz==2021.3
flask==2.0.2
Werkzeug==2.0.2
```



## License
playsound: https://github.com/TaylorSMarks/playsound/blob/master/LICENSE
pygobject: LGPL