From ef0a7b78df91681674e031626700a19795c2d186 Mon Sep 17 00:00:00 2001 From: Rousseau Vincent <vincent.rousseau@irstea.fr> Date: Wed, 9 Jan 2019 11:56:59 +0100 Subject: [PATCH] Update installation instruction --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 39bf6d5..4822a80 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,20 @@ # sense-hat +## Optional virtual env -## Utilisation +`python3 -m venv sense-hat-env` + +`source sense-hat-env/bin/activate` + + +## Installation `git clone https://gitlab.irstea.fr/raspberry-pi/sense-hat.git` -`requirements.txt` TODO +`sudo apt install libatlas-base-dev python3-sense-hat` + +`pip3 install -r sense-hat/requirements.txt` + +## Utilisation -`python3 sense-hat/environmental_sensors.py` \ No newline at end of file +`python3 sense-hat/environmental_sensors.py` -- GitLab