I have just tried installing version 0.100.2 on a clean Windows 10 with Python 3.7.4, both 32 bit.
Everything works fine except for installing the z-wave integration. The installation ends after a large number of lines with the KeyError: ‘WINDOWSSDKVERSION’.
Tried maually to execute pip3 install homeassistant-pyozw==0.1.4, but with the same result.
This might be an issue only related to Windows installations?
Almost certainly. Windows is not a primary platform for Home Assistant - there’s a reason the install guide sits under the message:
These guides are provided as-is. Some of these install methods are more limited than the methods above. Some integrations may not work due to limitations of the platform or because required Python packages aren’t available for that platform.
im using version 0.102.3 and python 3.8 on windows 10
this is the error im getting when i try to install pyozw-0.1.7 :
ERROR: Command errored out with exit status 1:
command: ‘c:\windows\system32\homeassistant\scripts\python.exe’ -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\User\AppData\Local\Temp\pip-install-hdoxts5t\homeassistant-pyozw\setup.py’"’"’; file=’"’"‘C:\Users\User\AppData\Local\Temp\pip-install-hdoxts5t\homeassistant-pyozw\setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ egg_info --egg-base ‘C:\Users\User\AppData\Local\Temp\pip-install-hdoxts5t\homeassistant-pyozw\pip-egg-info’
cwd: C:\Users\User\AppData\Local\Temp\pip-install-hdoxts5t\homeassistant-pyozw
Complete output (22 lines):
ImportError in : from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
NameError in : class bdist_wheel(_bdist_wheel) - Use bdist_egg instead
Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\User\AppData\Local\Temp\pip-install-hdoxts5t\homeassistant-pyozw\setup.py”, line 42, in
print(current_template.ctx)
File “C:\Users\User\AppData\Local\Temp\pip-install-hdoxts5t\homeassistant-pyozw\pyozw_setup.py”, line 225, in ctx
self._ctx = self.get_context()
File “C:\Users\User\AppData\Local\Temp\pip-install-hdoxts5t\homeassistant-pyozw\pyozw_setup.py”, line 804, in get_context
ctx = self.system_context(ctx, static=True)
File “C:\Users\User\AppData\Local\Temp\pip-install-hdoxts5t\homeassistant-pyozw\pyozw_setup.py”, line 144, in system_context
get_system_context(ctx, self.os_options, openzwave=os.path.abspath(self.openzwave), static=static)
File “C:\Users\User\AppData\Local\Temp\pip-install-hdoxts5t\homeassistant-pyozw\pyozw_win.py”, line 615, in get_system_context
) = setup_build_environment(openzwave, options[‘build_type’])
File “C:\Users\User\AppData\Local\Temp\pip-install-hdoxts5t\homeassistant-pyozw\pyozw_win.py”, line 241, in setup_build_environment
target_platform = os.environ[‘WINDOWSSDKVERSION’].replace(’\’, ‘’)
File “C:\Users\User\AppData\Local\Programs\Python\Python38\lib\os.py”, line 673, in getitem
raise KeyError(key) from None
KeyError: ‘WINDOWSSDKVERSION’
sysargv [‘C:\Users\User\AppData\Local\Temp\pip-install-hdoxts5t\homeassistant-pyozw\setup.py’, ‘egg_info’, ‘–egg-base’, ‘C:\Users\User\AppData\Local\Temp\pip-install-hdoxts5t\homeassistant-pyozw\pip-egg-info’]
Found SETUP_DIR : C:\Users\User\AppData\Local\Temp\pip-install-hdoxts5t\homeassistant-pyozw
<pyozw_setup.EmbedTemplate object at 0x00000235EF7415B0>
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.