I tried to upgrade homeassistant a while ago, and gave up. Hence the installation failed:
Installing Python packages... Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple ERROR: Could not find a version that satisfies the requirement homeassistant== ERROR: No matching distribution found for homeassistant== Deactivating virtualenv...
I am using hassbian in rasberry pi, and my previous methods for upgrading was typing:
$ sudo hassbian-config upgrade homeassistant
This has been working previously.
So, I have read that you instead can install it via virtual environment (I do not fully understand how this works):
$ source /srv/homeassistant/bin/activate
$ sudo pip3 install --upgrade homeassistant
This works without any errors, and I can confirm the the install succeeds, as a second upgrade tells me the latest version is already installed.
Though, my Raspberry Pi, still starts up the old version, even after reboot.
I am not sure how to continue and use the correct version in my system. I obviously have two versions of homeassistant installed.
I have not changed the source to /home/homeassistant/bin/activate, as this folder is empty. I only have hidden folders here, including the hidden ‘.homeassistant’, which contains my configuration files which is currently used by the “old” version.
The same goes for the /home/pi folder, only hidden folders. Nothing connected to homeassistant here…