INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=introduction>
INFO:homeassistant.util.package:Attempting install of sqlalchemy==1.0.14
Exception:
Traceback (most recent call last):
File “/usr/lib/python3.4/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/usr/lib/python3.4/site-packages/pip/commands/install.py”, line 357, in run
for item in os.listdir(lib_dir):
FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/tmp5bl6su7b/lib/python’
ERROR:homeassistant.bootstrap:Not initializing recorder because could not install dependency sqlalchemy==1.0.14
Could you please help me out to figure out how I can fix it? At very beginning I have upgraded HA to ver. 0.27.1.
How did you install homeassistant? Are you using virtualenv? And how are you running it?
This line seems weird to me in particular No such file or directory: '/tmp/tmp5bl6su7b/lib/python'. I can’t think of why it’d be trying to use a tmp directory for this.
I did not use virtualenv when I have tried to upgarde HA.
I have reinstalled it using virtualenv, unfortunately when I am trying to run it I have following message Fatal Error: Unable to create default configuration directory /home/hass/.homeassistant
hass is the user you are running with? It seems like permissions are off in the home directory.
Try running ls -d /home/hass. If it’s not owned by the hass user, run sudo chown -R hass /home/hass and sudo chmod u+rw /home/hass. That should fix the permissions to be runnable by the hass user.
The complete instruction was followed but problem still exist. Installation - Home Assistant
I have also used suggested command by you but still does not work.