Keypad operation
Install virtualenv via pip:
pip install virtualenv
Create a virtual environment for a project:
Note: you need python version 3.6
virtualenv -p /usr/bin/python3.6 venv
Activate the environment
source venv/bin/activate
Install project dependencies
pip install -r requirements.txt
Disable the environment
deactivate
python3.6 cncjs_pendant.py