I’m getting the same thing, I’ve used the AiO installer successfully before. I’m trying to locate the issue and i’ll let you know if i get it working. So far it seems pip3 is broken on the new Raspbian image.
This will uninstall the system version of pip3 and install the official python.org version and then sym-link the new version of pip3 to where the AiO install script is looking for it (it’s hard coded for security reasons I presume)
Thanks, it solves the problem - except that sudo ln -s /usr/local/bin/pip3 /usr/bin/pip3 had to be ran.
But I didn’t succeed: after 1-2 hours the script unexpectedly restarts my Pi before completing the installation. Unfortunately I didn’t save the installation_report for the first time, but I copied the contents of the terminal screen (installation_report-terminal.txt). After that I restarted the AIO script but it terminated again. This time I saved the whole log (installation_report-2.txt).
Any ideas on this? Do you have the same issue @hardcore_2031?
So my install resulted in a working HASS. @benceb it looks like you are hitting files that are already there from the first failed run so it’s bailing rather than overwriting them, I suggest a fresh start.
For science I have started again with a new fresh install:
Firstly I installed pip3 (which will install python3 and all it’s dependencies) manually and tested that it works, which it did.
This was the ticket and the install finished for me after doing this. I marked this as the solution, as while its not the final fix, it is the workaround we need in the meantime. Thank you!
This is due to aged pip and setup tools packages being unable to build dependencies. By downloading and installing the pip version from get-pip.py you essentially are upgrading the installed version. I am correcting the install scripts to fix this preventing the need to symlink python files which is kludge
I think I did everything as mentioned here above but it still errors out - now in a different way:
Traceback (most recent call last):
File "/usr/local/bin/fab", line 7, in <module>
from fabric.main import main
File "/usr/local/lib/python3.4/dist-packages/fabric/main.py", line 13, in <module>
from operator import isMappingType
ImportError: cannot import name 'isMappingType'
This seems to have something to do with compatibility of fabric with python3?
just downloaded rasbian lite (maybe that’s the problem). I have the same error at the end. i tried your suggestions but they don’t fix it. I don’t see it in the AIO installer doc, but are there dependencies you should have first?
ha, me too. it finally got to the password prompt of the install. So now I want to figure out that difference. surely it’s not X11.
So if you’re reading this, don’t use the raspbian lite, use the full version. although now i get to remove x, xfce, and all the other gui applications.
It’s because pip isn’t installed by default on raspbian lite and the path to pip is collected before it gets installed by the script.
To work around on raspbian lite just remove the directory fabric-home-assistant from pi’s home directory after the first run and error and run the AiO script again. Everything should complete as normal after that.
the AIO was apparently written on rasbian (full) and not lite. Once i switched to that version, the AIO script worked flawlessly. It’s apparently assuming some dependencies are installed that are not under rasbian lite.
I would have preferred to not have to uninstall all the extra gui stuff, but that’s easier than trying to figure out the dependencies lite needs installed.
Once i get z-wave working like i want, and understand how HA works better, i plan on using one of my Pi 2’s to figure out what the light version needs.