This shows you the differences between two versions of the page.
en:home_assistant_python_venv_upgrade [2022/01/22 12:04] Dmitriy created |
en:home_assistant_python_venv_upgrade [2022/01/22 12:05] (current) Dmitriy |
||
---|---|---|---|
Line 1: | Line 1: | ||
FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | ||
- | ====== | + | ====== |
- | Для обновления | + | To update |
- | 1. Остановить системную службу | + | 1. Stop the Home Assistant |
< | < | ||
sudo systemctl stop home-assistant@$USER.service | sudo systemctl stop home-assistant@$USER.service | ||
</ | </ | ||
- | где | + | where $USER is the login under which Home Assistant |
- | 2. Перейти в виртуальное окружение | + | 2. Go to the python |
< | < | ||
cd ~/ | cd ~/ | ||
Line 17: | Line 17: | ||
</ | </ | ||
- | 3. Загрузить обновления: | + | 3. Download updates: |
< | < | ||
pip3 install --upgrade homeassistant | pip3 install --upgrade homeassistant | ||
</ | </ | ||
- | 4. Выйти из виртуального окружения | + | 4. Exit the python |
< | < | ||
deactivate | deactivate | ||
sudo systemctl start home-assistant@$USER.service | sudo systemctl start home-assistant@$USER.service | ||
</ | </ | ||
- |