Fabric upgrade not working

I start the upgrade with this command: sudo fab upgrade_homeassistant

Error: Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-6uqi2xx9/multidict/

try updating all packages:

  1. change to your homeasistant user:

sudo su -s /bin/bash homeassistant

  1. change to the homeassistant environment

source /srv/homeassistant/homeassistant_venv/bin/activate

  1. now upgrade all pip components instead of homeassistant only

pip freeze --local | grep -v ‘^-e’ | cut -d = -f 1 | xargs -n1 pip install -U

thats what I do all the time and it didnt cause any errors

1 Like