# Installation ## Python 3 on Ubuntu / Debian ``` bash sudo apt update sudo apt upgrade -y sudo apt install python3-dev python3-pip python3 -m pip -U pip setuptools ``` ## PyQt5 [Tutorial](https://likegeeks.com/pyqt5-tutorial/) ``` bash python3 -m pip install PyQt5 PyQt5-tools ``` ## Bluetooth for Python on Ubuntu / Debian ``` bash sudo apt-get install bluez bluez-tools python3-bluez ``` ## SPI for Python Install https://github.com/doceme/py-spidev ## Modifying UI with PyQt5 designer on Ubuntu / Debian ``` bash sudo apt install qt4-designer designer-qt4 ``` Location of PyQt5 designer.exe on Windows > C:\Program Files\Python36\Lib\site-packages\pyqt5-tools\ or > C:\Users\\\\AppData\Local\Programs\Python\\\\Lib\site-packages\pyqt5-tools\ ## Regenerate UI on Linux ```bash python3 -m PyQt5.uic.pyuic youruifile -o yourpyfile -x ``` on Windows ```cmd pyuic5 youruifile -o yourpyfile -x ``` ## Running ```bash cd software/ python3 main.py ```