You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To isolate the Home Assistant installation a [`venv`](https://docs.python.org/3/library/venv.html) is handy. First create a new directory to store the installation and adjust the permissions.
Now switch to the new directory, setup the `venv`, and activate it.
28
23
29
24
```bash
30
25
sudo -u homeassistant -H -s
31
26
cd /opt/homeassistant
32
-
python3.6 -m venv .
27
+
python3.8 -m venv .
33
28
source bin/activate
34
29
```
35
30
36
31
Install Home Assistant itself.
37
32
38
33
```bash
39
-
$ pip3 install homeassistant colorlog
34
+
pip3 install homeassistant colorlog
40
35
```
41
36
42
37
Check the [autostart](/docs/autostart/systemd/) section in the documentation for further details and the [Firewall section](/docs/installation/troubleshooting/#no-access-to-the-frontend) if you want to access your Home Assistant installation.
0 commit comments