From 174a2c9ac94cac47924e2990b4b69ee5b66c2654 Mon Sep 17 00:00:00 2001 From: DubhAd Date: Thu, 28 Jun 2018 21:16:46 +0100 Subject: [PATCH] Adding details on activating the venv (#5611) * Adding details on activating the venv We mention in a few places to activate the venv, or use the venv, but nowhere do we actually document how to do this. * Update hassbian.markdown --- source/_docs/installation/hassbian.markdown | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/_docs/installation/hassbian.markdown b/source/_docs/installation/hassbian.markdown index e038cbb9ab8..7ae3954bce1 100644 --- a/source/_docs/installation/hassbian.markdown +++ b/source/_docs/installation/hassbian.markdown @@ -17,3 +17,10 @@ Hassbian is our customized operating system for the Raspberry Pi Zero, 2,3 and 3 - [Pi specific integrations](/docs/hassbian/common-tasks/) - [Learn how to perform common tasks](/docs/hassbian/integrations/) +### {% linkable_title Activating the virtual environment %} + +When instructions tell you to activate the virtual environment to install a Python library, or perform some tasks, the following commands will do this: + +```bash +$ sudo -u homeassistant -H -s +$ source /srv/homeassistant/bin/activate```