Ok, got to install 0.71.0 with sudo again.
But when I run it it seems that it stiil get in trouble with sqlalchemy again:
(homeassistant) pi@raspberrypi:/srv/homeassistant $ sudo hass
Config directory: /root/.homeassistant
2018-06-24 00:05:43 INFO (Thread-2) [homeassistant.config] Upgrading configuration directory from 0.72.0 to 0.70.1
2018-06-24 00:05:43 INFO (Thread-2) [homeassistant.config] Migrating old system configuration files to new locations
2018-06-24 00:05:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=turn_off, domain=homeassistant>
2018-06-24 00:05:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=turn_on, domain=homeassistant>
2018-06-24 00:05:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=toggle, domain=homeassistant>
2018-06-24 00:05:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=stop, domain=homeassistant>
2018-06-24 00:05:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=restart, domain=homeassistant>
2018-06-24 00:05:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=check_config, domain=homeassistant>
2018-06-24 00:05:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=reload_core_config, domain=homeassistant>
2018-06-24 00:05:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=create, domain=persistent_notification>
2018-06-24 00:05:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=dismiss, domain=persistent_notification>
2018-06-24 00:05:43 INFO (MainThread) [homeassistant.bootstrap] Home Assistant core initialized
2018-06-24 00:05:43 INFO (MainThread) [homeassistant.loader] Loaded introduction from homeassistant.components.introduction
2018-06-24 00:05:43 INFO (MainThread) [homeassistant.setup] Setting up introduction
2018-06-24 00:05:43 INFO (MainThread) [homeassistant.components.introduction]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hello, and welcome to Home Assistant!
We'll hope that we can make all your dreams come true.
Here are some resources to get started:
- Configuring Home Assistant:
https://home-assistant.io/getting-started/configuration/
- Available components:
https://home-assistant.io/components/
- Troubleshooting your configuration:
https://home-assistant.io/getting-started/troubleshooting-configuration/
- Getting help:
https://home-assistant.io/help/
This message is generated by the introduction component. You can
disable it in configuration.yaml.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-06-24 00:05:43 INFO (MainThread) [homeassistant.loader] Loaded persistent_notification from homeassistant.components.persistent_notification
2018-06-24 00:05:43 INFO (MainThread) [homeassistant.setup] Setup of domain introduction took 0.0 seconds.
2018-06-24 00:05:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=introduction>
2018-06-24 00:05:44 INFO (MainThread) [homeassistant.loader] Loaded history from homeassistant.components.history
2018-06-24 00:05:44 INFO (MainThread) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder
2018-06-24 00:05:44 INFO (MainThread) [homeassistant.loader] Loaded http from homeassistant.components.http
2018-06-24 00:05:44 INFO (MainThread) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend
2018-06-24 00:05:44 INFO (MainThread) [homeassistant.loader] Loaded api from homeassistant.components.api
2018-06-24 00:05:44 INFO (MainThread) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api
2018-06-24 00:05:44 INFO (MainThread) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log
2018-06-24 00:05:44 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service=create, service_call_id=1966425616-1, service_data=message=
Here are some resources to get started:
- [Configuring Home Assistant](https://home-assistant.io/getting-started/configuration/)
- [Available components](https://home-assistant.io/components/)
- [Troubleshooting your configuration](https://home-assistant.io/docs/configuration/troubleshooting/)
- [Getting help](https://home-assistant.io/help/)
To not see this card popup in the future, edit your config in
`configuration.yaml` and disable the `introduction` component.
, title=Welcome Home!, domain=persistent_notification>
2018-06-24 00:05:44 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=None, new_state=<state persistent_notification.notification=notifying; message=Here are some resources to get started:
- [Configuring Home Assistant](https://home-assistant.io/getting-started/configuration/)
- [Available components](https://home-assistant.io/components/)
- [Troubleshooting your configuration](https://home-assistant.io/docs/configuration/troubleshooting/)
- [Getting help](https://home-assistant.io/help/)
To not see this card popup in the future, edit your config in
`configuration.yaml` and disable the `introduction` component., title=Welcome Home! @ 2018-06-24T00:05:44.977274+00:00>, entity_id=persistent_notification.notification>
2018-06-24 00:05:44 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1966425616-1>
2018-06-24 00:05:45 INFO (Thread-3) [homeassistant.util.package] Attempting install of sqlalchemy==1.2.7
2018-06-24 00:06:08 ERROR (Thread-3) [homeassistant.util.package] Unable to install package sqlalchemy==1.2.7: Exception:
Traceback (most recent call last):
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 594, in urlopen
chunked=chunked)
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 391, in _make_request
six.raise_from(e, None)
File "<string>", line 2, in raise_from
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 387, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.5/http/client.py", line 1198, in getresponse
response.begin()
File "/usr/lib/python3.5/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.5/http/client.py", line 266, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 353, in run
wb.build(autobuilding=True)
File "/usr/lib/python3/dist-packages/pip/wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 620, in _prepare_file
session=self.session, hashes=hashes)
File "/usr/lib/python3/dist-packages/pip/download.py", line 821, in unpack_url
hashes=hashes
File "/usr/lib/python3/dist-packages/pip/download.py", line 659, in unpack_http_url
hashes)
File "/usr/lib/python3/dist-packages/pip/download.py", line 853, in _download_http_url
stream=True,
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/pip/download.py", line 386, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request
resp = self.send(prep, **send_kwargs)
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send
r = adapter.send(request, **kwargs)
File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send
timeout=timeout
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment
total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
2018-06-24 00:06:08 ERROR (MainThread) [homeassistant.requirements] Not initializing recorder because could not install requirement sqlalchemy==1.2.7
2018-06-24 00:06:08 ERROR (MainThread) [homeassistant.setup] Setup failed for recorder: Could not install all requirements.
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service=create, service_call_id=1966425616-2, service_data=notification_id=invalid_config, message=The following components and platforms could not be set up:
- [recorder](https://home-assistant.io/components/recorder/)
Please check your config., title=Invalid config, domain=persistent_notification>
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=None, new_state=<state persistent_notification.invalid_config=notifying; message=The following components and platforms could not be set up:
- [recorder](https://home-assistant.io/components/recorder/)
Please check your config., title=Invalid config @ 2018-06-24T00:06:08.417938+00:00>, entity_id=persistent_notification.invalid_config>
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1966425616-2>
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.setup] Setting up http
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=http>
2018-06-24 00:06:08 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of history. Setup failed for dependencies: recorder
2018-06-24 00:06:08 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not setup all dependencies.
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=websocket_api>
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.setup] Setting up api
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.setup] Setting up system_log
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=clear, domain=system_log>
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=write, domain=system_log>
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds.
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=system_log>
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service=create, service_call_id=1966425616-3, service_data=notification_id=invalid_config, message=The following components and platforms could not be set up:
- [history](https://home-assistant.io/components/history/)
- [recorder](https://home-assistant.io/components/recorder/)
Please check your config., title=Invalid config, domain=persistent_notification>
2018-06-24 00:06:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state persistent_notification.invalid_config=notifying; message=The following components and platforms could not be set up: