Old upgrade instructions for virtualenv?

I’d installed Hass into a python virtual environment on Ubuntu 16.04 LTS server; currently upgraded to 0.55. Up until then, there were instructions in the installation section that I did to upgrade, and they worked fine. Like an idiot I didn’t copy them down and just cheated off the site whenever I needed to upgrade. Alas, the instructions up there now don’t match my setup, and so don’t work for me now. Has anyone got a copy of those old instructions?

2 days ago someone had the same problem.

The process in there should work, you just have to know:

  • The user your virtual environment uses
  • Where the virtual environment is

Then:

  1. Become that user (eg sudo su -s /bin/bash homeassistant)
  2. Activate the virtual environment (eg source /srv/homeassistant/bin/activate)
  3. Upgrade (pip3 install --upgrade homeassistant)
2 Likes