It’s probably just me, but Home-Assistant just won’t install on RaspberryPi with EmonSD image as base.
It kept throwing errors after Cleaning up… ending in OSError: [Errno 28] No space left on device
.
Here’s example of when I try to force reinstall:
pi@emonpi(rw):data$ sudo pip3 install --upgrade --force-reinstall homeassistant
Downloading/unpacking homeassistant
Downloading homeassistant-0.35.0-py2.py3-none-any.whl (6.3MB): 6.3MB downloaded
Downloading/unpacking requests>=2,<3 (from homeassistant)
Downloading requests-2.12.4-py2.py3-none-any.whl (576kB): 576kB downloaded
Downloading/unpacking jinja2>=2.8 (from homeassistant)
Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB): 263kB downloaded
Downloading/unpacking pyyaml>=3.11,<4 (from homeassistant)
Downloading PyYAML-3.12.tar.gz (253kB): 253kB downloaded
Running setup.py (path:/tmp/pip-build-j6c6g7qt/pyyaml/setup.py) egg_info for package pyyaml
Downloading/unpacking async-timeout==1.1.0 (from homeassistant)
Downloading async_timeout-1.1.0-py3-none-any.whl
Downloading/unpacking pytz>=2016.7 (from homeassistant)
Downloading pytz-2016.10-py2.py3-none-any.whl (483kB): 483kB downloaded
Cleaning up...
Exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 290, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python3/dist-packages/pip/req.py", line 1198, in prepare_files
do_download,
File "/usr/lib/python3/dist-packages/pip/req.py", line 1376, in unpack_url
self.session,
File "/usr/lib/python3/dist-packages/pip/download.py", line 582, in unpack_http_url
unpack_file(temp_location, location, content_type, link)
File "/usr/lib/python3/dist-packages/pip/util.py", line 640, in unpack_file
unzip_file(filename, location, flatten=not filename.endswith(('.pybundle', '.whl')))
File "/usr/lib/python3/dist-packages/pip/util.py", line 529, in unzip_file
fp.write(data)
OSError: [Errno 28] No space left on device
Storing debug log for failure in /root/.pip/pip.log
I ended up installing the various pip module individually, last one missing afaict was sqlalchemy
When I try to install that I get similar OSError: [Errno 28] No space left on device
error:
I’m confused as there seems to be plenty of space available:
I was going to following instructions to integrate Emon with Home-Assistant but can’t get to past install https://github.com/openenergymonitor/oem_home-assistant
Many thanks!