-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.sh
executable file
·30 lines (21 loc) · 660 Bytes
/
main.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#Install py requirements
echo "Installo le componenti essenziali.."
echo "[1/] Installo pip..\n"
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python2.7 get-pip.py
rm get-pip.py
echo "[2/] Installo pulseaudio..\n"
sudo install pulseaudio
sudo killall pulseaudio
pulseaudio --start
echo "[3/] Installo portaudio..\n"
sudo apt install python-dev
sudo apt install portaudio19-dev
echo "[4/] Installo SpeechRecognition..\n"
python2.7 -m pip install SpeechRecognition
echo "[5/] Installo PyAudio..\n"
python2.7 -m pip install PyAudio
echo "[6/] Installo Kafka-Python..\n"
python2.7 -m pip install kafka-python
# Run main.py
#./python/bin/main.py