I’ve been running HomeAssistant for about 9 months now and am loving it! I unfortunately have been using my “production” instance as my test bed over the same timeframe and decided this weekend it was time to start over clean and fresh. I am running on a Raspberry Pi 3. All of the attempts below followed the same steps prior to running the AIO installer script: write Raspbian img file to my SD card, add ssh file to boot, boot OS on the Pi, SSH to Pi with Putty, run raspi-config and expand filesystem, change password, set locale, set timezone, set keyboard, then reboot, run update/upgrade, reboot again
On my 1st attempt Sunday night (using the January '17 Raspbian Pixel image) everything went fantastic and the AIO installer ran all the way through. Unfortunately I jacked up this build overwriting the new config files with my old ones.
I then started all over again, performed the setup above a 2nd time and had it fail with the message below (this was Monday during the daytime.)
Because of the fail, I tried again tonight with the Jan '17 Raspbian Lite img. This too failed at the same point.
Are others running clean installs with the AIO installer running into the same issue? Tried some of the stuff found in other threads that got folks working in December, but I’m still not having sucess.
Running setup.py install for cffi
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.4/dist-packages/setuptools/__init__.py", line 12, in <module>
import setuptools.version
File "/usr/local/lib/python3.4/dist-packages/setuptools/version.py", line 1, in <module>
import pkg_resources
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 70, in <module>
import packaging.version
ImportError: No module named 'packaging'
Complete output from command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-zusmmhdm/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-79b8dauv-record/install-record.txt --single-version-externally-managed --compile:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.4/dist-packages/setuptools/__init__.py", line 12, in <module>
import setuptools.version
File "/usr/local/lib/python3.4/dist-packages/setuptools/version.py", line 1, in <module>
import pkg_resources
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 70, in <module>
import packaging.version
ImportError: No module named 'packaging'
----------------------------------------
Cleaning up...
Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-zusmmhdm/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-79b8dauv-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-zusmmhdm/cffi
Storing debug log for failure in /root/.pip/pip.log
Traceback (most recent call last):
File "/usr/bin/pip3", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 70, in <module>
import packaging.version
ImportError: No module named 'packaging'
Cloning into 'fabric-home-assistant'...
remote: Counting objects: 271, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 271 (delta 0), reused 0 (delta 0), pack-reused 266
Receiving objects: 100% (271/271), 118.52 KiB | 0 bytes/s, done.
Resolving deltas: 100% (154/154), done.
Checking connectivity... done.
hass_rpi_installer.sh: line 129: fab: command not found