I’m trying to get this to work by following the above, and am getting lots of errors. Perhaps I need to remove every Python-y thing I can find first, and just try again.
At this step: PYTHON_EXEC=which python3 make build
I get this error: MacMini:python-openzwave ChopOMatic$ PYTHON_EXEC=which python3 make build
/Library/Frameworks/Python.framework/Versions/3.5/Resources/Python.app/Contents/MacOS/Python: can’t open file ‘make’: [Errno 2] No such file or directory
I’m getting all the way through except at the end.
Processing dependencies for libopenzwave==0.3.1
Searching for six
Reading https://pypi.python.org/simple/six/
Download error on https://pypi.python.org/simple/six/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749) – Some packages may not be found!
Couldn’t find index page for ‘six’ (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https: // pypi. python. org/ simple/
Download error on https: / /pypi. python.org /simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749) – Some packages may not be found!
No local packages or working download links found for six
error: Could not find suitable distribution for Requirement.parse(‘six’)
make: *** [install-lib] Error 1
Followed all your instructions and got all the way through except until the end when I issued the sudo PYTHON_EXEC=which python3 make install command.
Processing dependencies for libopenzwave==0.3.1
Searching for six
Reading https:// pypi.python. org/simple/six/
Download error on https: //pypi. python.org/simple/six/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749) – Some packages may not be found!
Couldn’t find index page for ‘six’ (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749) – Some packages may not be found!
No local packages or working download links found for six
error: Could not find suitable distribution for Requirement.parse(‘six’)
make: *** [install-lib] Error 1
For anyone with this problem, it seems to be related to newest OSX version and Python3. You need to run this command after installation of python and then you should be good to go.
Ok, got it! After blowing away my entire python3 install because of another issue I reinstalled python3 using brew. This has the effect of installing it in /usr/local/lib/python3.5 instead of /Library…
$ brew install python3
I should also mention that I installed open-zwave with brew as well. Next I installed home-assistant using pip3.
$ sudo -H pip3 install homeassistant
Made sure it was up and working, and then did the following.
Now it’s up and running and sees the Aeon Z-Stick and the Door/Window sensor. Now the only problem I am having is that HA is not seeing the binary state of the binary sensor it created. That is another fight for this week. Just glad HA can see the damned thing.
Gook Luck.
When i encountered the error CERTIFICATE_VERIFY_FAILED, i then ran the command
That would be great! Almost worth setting up a completely independent group for it (even if on Facebook or similar!!!).
Now having trouble with the web front end when creating automations - I think there’s an orange “Save” button that’s hiding below the bottom edge of the page due to over-clever CSS!
For anybody getting issues with SSL failing on the download, just open Python folder in applications and then double click on Install Certificates.command that will fix everything for you on the download SSL errors.
I wish I had found this post earlier!! I spent 3 hours trying just about every combinations of python commands, homebrew, etc to get openzwave installed.