Issues installing Home Assistant on Windows

Hi,

Tried the same on Windows server 2012 and on Windows 10.

Please see the error when I try to launch Home Assistant using the command hass --open-ui:
C:\Users\ajn>hass --open-ui
Traceback (most recent call last):
File “C:\Python27\lib\runpy.py”, line 162, in run_module_as_main
main”, fname, loader, pkg_name)
File “C:\Python27\lib\runpy.py”, line 72, in run_code
exec code in run_globals
File "C:\Python27\Scripts\hass.exe_main
.py", line 5, in
File "C:\Python27\lib\site-packages\homeassistant_main
.py", line 12, in
from homeassistant import bootstrap
File “C:\Python27\lib\site-packages\homeassistant\bootstrap.py”, line 19, in
import homeassistant.core as core
File “C:\Python27\lib\site-packages\homeassistant\core.py”, line 13, in
from types import MappingProxyType
ImportError: cannot import name MappingProxyType

Anyone knows how to get past this issue?
I am running Python 3.5.1.
Also tried to run the command in the YouTube video linked in Home Assistants home page.

Thanks in advance,

Alf Jonny

You said that you’re running python 3.5.1, but it looks like you’re running python 2.7

Perhaps 2.7 is earlier in your path than 3.5.1?

1 Like

Hi,

After trying on 3 computers, I created a VM with Ubuntu.
Worked well.