Permissions Error Upgrading to 0.41 on Hassbian (RPi3)

Hello All,

I just saw the post for the latest update, 0.41 and tried to run the upgrade according to the instructions on the Docs pages, like I always have, and am getting permissions errors in the pip upgrade script. It looks like it’s trying to create directories in /usr/local/lib/python3.4/dist-packages. which the user homeassistant doesn’t have permissions to create new folders or files. It also gets other permissions errors, when I try to temporarily create the folders ahead of time and chown to homeassistant (not a solution, I know, was just testing). Anyway, is there a way to upgrade properly while running as sudo/root?

Thanks

I think I’ve figured out my issue (I’ve at least been able to upgrade now). I believe I did a mistype and somehow didn’t notice that I hadn’t properly “activated” the virtenv (where it shows “(homeassistant)” on the far left margin). Once I tried all the steps from scratch, including activating the environment, the upgrade went through successfully. Will keep the post up, in case it helps someone in the future.