I was trying to setup zwave and got and error. I would appreciate any help.
System info:
HA version = 0.100.1
python version = 3.7.4
Error output
xxx@xxxxx:/home/homeassistant/.homeassistant # service homeassistant start
Performing check on Home Assistant configuration:
Testing configuration at /usr/home/homeassistant/.homeassistant
INFO:homeassistant.util.package:Attempting install of homeassistant-pyozw==0.1.4
ERROR:homeassistant.util.package:Unable to install package homeassistant-pyozw==0.1.4: ERROR: Command errored out with exit status 1:
command: /usr/local/share/homeassistant/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a_4a42hh/homeassistant-pyozw/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a_4a42hh/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-i3mdymrg --python-tag cp37
cwd: /tmp/pip-install-a_4a42hh/homeassistant-pyozw/
Complete output (17 lines):
sysargv ['/tmp/pip-install-a_4a42hh/homeassistant-pyozw/setup.py', 'bdist_wheel', '-d', '/tmp/pip-wheel-i3mdymrg', '--python-tag', 'cp37']
Found SETUP_DIR : /tmp/pip-install-a_4a42hh/homeassistant-pyozw
<pyozw_setup.EmbedTemplate object at 0x806775fd0>
{'name': 'libopenzwave', 'sources': ['openzwave-embed/open-zwave-hass/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp'], 'include_dirs': ['src-lib/libopenzwave/', 'openzwave-embed/open-zwave-hass/cpp/src', 'openzwave-embed/open-zwave-hass/cpp/src/value_classes', 'openzwave-embed/open-zwave-hass/cpp/src/platform', 'openzwave-embed/open-zwave-hass/cpp/build/linux'], 'define_macros': [('PY_LIB_VERSION', '0.1.4'), ('PY_SSIZE_T_CLEAN', 1), ('PY_LIB_FLAVOR', 'embed'), ('PY_LIB_BACKEND', 'cpp')], 'libraries': ['usb', 'stdc++'], 'extra_objects': ['openzwave-embed/open-zwave-hass/libopenzwave.a'], 'extra_compile_args': [], 'extra_link_args': [], 'language': 'c++'}
['six', 'PyDispatcher>=2.0.5']
running bdist_wheel
running build
running build_openzwave
Found g++ : None
Found gcc : None
Found make : /usr/bin/make
Found gmake : None
Found cython : None
Found pkg-config : None
fetching https://raw.githubusercontent.com/home-assistant/python-openzwave/hass/archives/open-zwave-hass-0.1.4.zip into openzwave-embed/open-zwave.zip for version 0.1.4
Clean openzwave in openzwave-embed/open-zwave-hass ... be patient ...
error: [Errno 2] No such file or directory: 'gmake': 'gmake'
----------------------------------------
ERROR: Failed building wheel for homeassistant-pyozw
ERROR: Command errored out with exit status 1:
command: /usr/local/share/homeassistant/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a_4a42hh/homeassistant-pyozw/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a_4a42hh/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
cwd: /tmp/pip-install-a_4a42hh/homeassistant-pyozw
Complete output (8 lines):
sysargv ['/tmp/pip-install-a_4a42hh/homeassistant-pyozw/setup.py', 'clean', '--all']
Found SETUP_DIR : /tmp/pip-install-a_4a42hh/homeassistant-pyozw
<pyozw_setup.EmbedTemplate object at 0x806778090>
{'name': 'libopenzwave', 'sources': ['openzwave-embed/open-zwave-hass/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp'], 'include_dirs': ['src-lib/libopenzwave/', 'openzwave-embed/open-zwave-hass/cpp/src', 'openzwave-embed/open-zwave-hass/cpp/src/value_classes', 'openzwave-embed/open-zwave-hass/cpp/src/platform', 'openzwave-embed/open-zwave-hass/cpp/build/linux'], 'define_macros': [('PY_LIB_VERSION', '0.1.4'), ('PY_SSIZE_T_CLEAN', 1), ('PY_LIB_FLAVOR', 'embed'), ('PY_LIB_BACKEND', 'cpp')], 'libraries': ['usb', 'stdc++'], 'extra_objects': ['openzwave-embed/open-zwave-hass/libopenzwave.a'], 'extra_compile_args': [], 'extra_link_args': [], 'language': 'c++'}
['six', 'PyDispatcher>=2.0.5']
running clean
Clean openzwave in openzwave-embed/open-zwave-hass ... be patient ...
error: [Errno 2] No such file or directory: 'gmake': 'gmake'
----------------------------------------
ERROR: Failed cleaning build dir for homeassistant-pyozw
ERROR: Command errored out with exit status 1:
command: /usr/local/share/homeassistant/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a_4a42hh/homeassistant-pyozw/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a_4a42hh/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ox3vb57p/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/share/homeassistant/include/site/python3.7/homeassistant-pyozw
cwd: /tmp/pip-install-a_4a42hh/homeassistant-pyozw/
Complete output (16 lines):
sysargv ['/tmp/pip-install-a_4a42hh/homeassistant-pyozw/setup.py', 'install', '--record', '/tmp/pip-record-ox3vb57p/install-record.txt', '--single-version-externally-managed', '--compile', '--install-headers', '/usr/local/share/homeassistant/include/site/python3.7/homeassistant-pyozw']
Found SETUP_DIR : /tmp/pip-install-a_4a42hh/homeassistant-pyozw
<pyozw_setup.EmbedTemplate object at 0x806775fd0>
{'name': 'libopenzwave', 'sources': ['openzwave-embed/open-zwave-hass/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp'], 'include_dirs': ['src-lib/libopenzwave/', 'openzwave-embed/open-zwave-hass/cpp/src', 'openzwave-embed/open-zwave-hass/cpp/src/value_classes', 'openzwave-embed/open-zwave-hass/cpp/src/platform', 'openzwave-embed/open-zwave-hass/cpp/build/linux'], 'define_macros': [('PY_LIB_VERSION', '0.1.4'), ('PY_SSIZE_T_CLEAN', 1), ('PY_LIB_FLAVOR', 'embed'), ('PY_LIB_BACKEND', 'cpp')], 'libraries': ['usb', 'stdc++'], 'extra_objects': ['openzwave-embed/open-zwave-hass/libopenzwave.a'], 'extra_compile_args': [], 'extra_link_args': [], 'language': 'c++'}
['six', 'PyDispatcher>=2.0.5']
running install
flavor embed
running build_openzwave
Found g++ : None
Found gcc : None
Found make : /usr/bin/make
Found gmake : None
Found cython : None
Found pkg-config : None
Clean openzwave in openzwave-embed/open-zwave-hass ... be patient ...
error: [Errno 2] No such file or directory: 'gmake': 'gmake'
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/share/homeassistant/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a_4a42hh/homeassistant-pyozw/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a_4a42hh/homeassistant-pyozw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ox3vb57p/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/share/homeassistant/include/site/python3.7/homeassistant-pyozw Check the logs for full command output.
Failed config
General Errors:
- Component error: zwave - Requirements for zwave not found: ['homeassistant-pyozw==0.1.4'].
Successful config (partial)
/usr/local/etc/rc.d/homeassistant: WARNING: failed precmd routine for homeassistant
Thanks