1. Go to your home directory
cd ~
2. Make and enter a virtual environment
python3 -m venv test
source test/bin/activate
3. Upgrade pip (recommended)
pip install --upgrade pip
4. Install required luma libraries
pip install luma.oled
and more
setup env
python3 -m venv .venv
source .venv/bin/activate
pip install RPi.GPIO
pip install SN74HC165