install.md 986 B

Installation

Python 3

on Ubuntu / Debian

sudo apt update
sudo apt upgrade -y
sudo apt install python3-dev python3-pip
python3 -m pip -U pip setuptools

PyQt5 Tutorial

python3 -m pip install PyQt5 PyQt5-tools

Bluetooth for Python

on Ubuntu / Debian

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

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\<User>\AppData\Local\Programs\Python\<version>\Lib\site-packages\pyqt5-tools

Regenerate UI

on Linux

python3 -m PyQt5.uic.pyuic youruifile -o yourpyfile -x

on Windows

pyuic5 youruifile -o yourpyfile -x

Running

cd software/
python3 main.py