I successfully installed Python 3.6 and followed the Terminal instructions and got the error message:
TypeError: can’t set attributes of built-in/extension type ‘_asyncio.Task’
Here is my Terminal log:
Last login: Wed Jan 4 20:18:12 on console
Edwards-Air:~ edwardstewart$ pip3 install homeassistant
Collecting homeassistant
Downloading homeassistant-0.35.3-py2.py3-none-any.whl (6.3MB)
100% |████████████████████████████████| 6.3MB 163kB/s
Requirement already satisfied: pip>=7.0.0 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from homeassistant)
Collecting requests<3,>=2 (from homeassistant)
Downloading requests-2.12.4-py2.py3-none-any.whl (576kB)
100% |████████████████████████████████| 583kB 1.7MB/s
Collecting aiohttp==1.1.6 (from homeassistant)
Downloading aiohttp-1.1.6.tar.gz (510kB)
100% |████████████████████████████████| 512kB 1.5MB/s
Collecting pytz>=2016.7 (from homeassistant)
Downloading pytz-2016.10-py2.py3-none-any.whl (483kB)
100% |████████████████████████████████| 491kB 2.1MB/s
Collecting voluptuous==0.9.2 (from homeassistant)
Downloading voluptuous-0.9.2.tar.gz
Collecting async-timeout==1.1.0 (from homeassistant)
Downloading async_timeout-1.1.0-py3-none-any.whl
Collecting jinja2>=2.8 (from homeassistant)
Downloading Jinja2-2.9.1-py2.py3-none-any.whl (273kB)
100% |████████████████████████████████| 276kB 2.8MB/s
Collecting typing<4,>=3 (from homeassistant)
Downloading typing-3.5.3.0.tar.gz (60kB)
100% |████████████████████████████████| 61kB 2.9MB/s
Collecting pyyaml<4,>=3.11 (from homeassistant)
Downloading PyYAML-3.12.tar.gz (253kB)
100% |████████████████████████████████| 256kB 2.9MB/s
Collecting chardet (from aiohttp==1.1.6->homeassistant)
Downloading chardet-2.3.0.tar.gz (164kB)
100% |████████████████████████████████| 174kB 3.3MB/s
Collecting multidict>=2.0 (from aiohttp==1.1.6->homeassistant)
Downloading multidict-2.1.4.tar.gz (101kB)
100% |████████████████████████████████| 102kB 3.2MB/s
Collecting yarl>=0.5.0 (from aiohttp==1.1.6->homeassistant)
Downloading yarl-0.8.1.tar.gz (121kB)
100% |████████████████████████████████| 122kB 4.0MB/s
Requirement already satisfied: setuptools>=0.6b1 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from voluptuous==0.9.2->homeassistant)
Collecting MarkupSafe>=0.23 (from jinja2>=2.8->homeassistant)
Downloading MarkupSafe-0.23.tar.gz
Installing collected packages: requests, chardet, multidict, async-timeout, yarl, aiohttp, pytz, voluptuous, MarkupSafe, jinja2, typing, pyyaml, homeassistant
Running setup.py install for chardet … done
Running setup.py install for multidict … done
Running setup.py install for yarl … done
Running setup.py install for aiohttp … done
Running setup.py install for voluptuous … done
Running setup.py install for MarkupSafe … done
Running setup.py install for typing … done
Running setup.py install for pyyaml … done
Successfully installed MarkupSafe-0.23 aiohttp-1.1.6 async-timeout-1.1.0 chardet-2.3.0 homeassistant-0.35.3 jinja2-2.9.1 multidict-2.1.4 pytz-2016.10 pyyaml-3.12 requests-2.12.4 typing-3.5.3.0 voluptuous-0.9.2 yarl-0.8.1
Edwards-Air:~ edwardstewart$ haas --open-ui
-bash: haas: command not found
Edwards-Air:~ edwardstewart$ hass --open-ui
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.6/bin/hass”, line 11, in
sys.exit(main())
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/homeassistant/main.py”, line 359, in main
monkey_patch_asyncio()
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/homeassistant/main.py”, line 58, in monkey_patch_asyncio
asyncio.tasks.Task._all_tasks = IgnoreCalls()
TypeError: can’t set attributes of built-in/extension type ‘_asyncio.Task’
Edwards-Air:~ edwardstewart$
Hass dont work with python 3.6, you neem 3.5 or 3.4