I’m not have much luck with HA. I just uninstalled HA and deleted the config directory. However, during the re-install it outputs red-colored text below. HA wont even start up now. I even upgraded Python to the latest version for Windows and installed “Build Tools for Visual Studio”. I dont think this issue is related to Wink… but more related to HA.
Can you please tell me how to install a good installation of HA on Windows 10 using Python? Below are all the errors during the install process. I realy need to at least get a good install do HA. Surely, it can’t be that complicated. :-/
py -m pip install homeassistant
...
Building wheels for collected packages: ciso8601
Building wheel for ciso8601 (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Michael\AppData\Local\Programs\Python\Python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Michael\\AppData\\Local\\Temp\\pip-install-hnx0509n\\ciso8601\\setup.py'"'"'; __file__='"'"'C:\\Users\\Michael\\AppData\\Local\\Temp\\pip-install-hnx0509n\\ciso8601\\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 'C:\Users\Michael\AppData\Local\Temp\pip-wheel-jiha552j'
cwd: C:\Users\Michael\AppData\Local\Temp\pip-install-hnx0509n\ciso8601\
Complete output (12 lines):
running bdist_wheel
running build
running build_py
package init file 'ciso8601\__init__.py' not found (or not a regular file)
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\ciso8601
copying ciso8601\__init__.pyi -> build\lib.win-amd64-3.7\ciso8601
copying ciso8601\py.typed -> build\lib.win-amd64-3.7\ciso8601
running build_ext
building 'ciso8601' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Failed building wheel for ciso8601
Running setup.py clean for ciso8601
Failed to build ciso8601
Installing collected packages: ciso8601, zipp, importlib-metadata, MarkupSafe, jinja2, text-unidecode, python-slugify, homeassistant
Running setup.py install for ciso8601 ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Michael\AppData\Local\Programs\Python\Python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Michael\\AppData\\Local\\Temp\\pip-install-hnx0509n\\ciso8601\\setup.py'"'"'; __file__='"'"'C:\\Users\\Michael\\AppData\\Local\\Temp\\pip-install-hnx0509n\\ciso8601\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Michael\AppData\Local\Temp\pip-record-r7nx6rv6\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Michael\AppData\Local\Programs\Python\Python37\Include\ciso8601'
cwd: C:\Users\Michael\AppData\Local\Temp\pip-install-hnx0509n\ciso8601\
Complete output (12 lines):
running install
running build
running build_py
package init file 'ciso8601\__init__.py' not found (or not a regular file)
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\ciso8601
copying ciso8601\__init__.pyi -> build\lib.win-amd64-3.7\ciso8601
copying ciso8601\py.typed -> build\lib.win-amd64-3.7\ciso8601
running build_ext
building 'ciso8601' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\Michael\AppData\Local\Programs\Python\Python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Michael\\AppData\\Local\\Temp\\pip-install-hnx0509n\\ciso8601\\setup.py'"'"'; __file__='"'"'C:\\Users\\Michael\\AppData\\Local\\Temp\\pip-install-hnx0509n\\ciso8601\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Michael\AppData\Local\Temp\pip-record-r7nx6rv6\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Michael\AppData\Local\Programs\Python\Python37\Include\ciso8601' Check the logs for full command output.
If I try to start HA, it gives an error:
py -m homeassistant --open-ui
C:\Users\Michael\AppData\Local\Programs\Python\Python37\python.exe: No module named homeassistant
type or paste code here