Skip to content

Commit 0064a22

Browse files
authored
Update for Python 3.8 (home-assistant#10665)
1 parent 5b41bb0 commit 0064a22

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

source/_docs/installation/fedora.markdown

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,27 @@ Install the development package of Python.
1111
sudo dnf -y install python3-devel redhat-rpm-config
1212
```
1313

14-
and Home Assistant itself.
15-
16-
```bash
17-
pip3 install homeassistant
18-
```
19-
2014
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.
2115

2216
```bash
2317
sudo mkdir -p /opt/homeassistant
2418
sudo useradd -rm homeassistant -G dialout
2519
sudo chown -R homeassistant:homeassistant /opt/homeassistant
2620
```
21+
2722
Now switch to the new directory, setup the `venv`, and activate it.
2823

2924
```bash
3025
sudo -u homeassistant -H -s
3126
cd /opt/homeassistant
32-
python3.6 -m venv .
27+
python3.8 -m venv .
3328
source bin/activate
3429
```
3530

3631
Install Home Assistant itself.
3732

3833
```bash
39-
$ pip3 install homeassistant colorlog
34+
pip3 install homeassistant colorlog
4035
```
4136

4237
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

Comments
 (0)