forked from EtalumaSupport/LumaViewPro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
executable file
·30 lines (23 loc) · 827 Bytes
/
INSTALL
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
#!/etc/bash
# needed for Ubuntu 20.04
# install python3
sudo apt-get update
sudo apt-get install python3.8
sudo apt-get install python3-pip
# check if it works
python3 --version
# install kivy
pip3 install --upgrade pip setuptools virtualenv
python3 -m virtualenv kivy_venv
pip3 install kivy[base] kivy_examples --no-binary kivy
# install serial code to talk to LED boards
pip3 install pyserial
sudo chmod o+rw /dev/ttyS0
# install pypylon and OpenCV to talk to cameras
pip3 install opencv-python
pip3 install pypylon
# if that doesn't work we need to get the wheel directly
wget https://pypi.org/project/pypylon/pypylon-1.6.0-cp38-cp38-linux_x86_64.whl
pip3 install pypylon-1.6.0-cp38-cp38-linux_x86_64.whl
# Updated instructions as of May 2022
pip3 install numpy plyer kivy kivymd opencv-python scipy pyserial pypylon