Hope someone can help me please.
I’m running an AMD processor windows 7 64-bit OS
I’ve downloaded Python ver 3.6.0-amd64.exe , and install of Python ok BUT…
When I type “py -m homeassistant --open-ui” I get the following errors…
Traceback (most recent call last):
File “C:\Users\shane\AppData\Local\Programs\Python\Python36\lib\runpy.py”, line 193, in runmodule_as_main
“main”, mod_spec)
File “C:\Users\shane\AppData\Local\Programs\Python\Python36\lib\runpy.py”, line 85, in runcode
exec(code, run_globals)
File “C:\Users\shane\AppData\Local\Programs\Python\Python36\lib\site-packages\homeassistant__main__.py”, line 388, in
sys.exit(main())
File “C:\Users\shane\AppData\Local\Programs\Python\Python36\lib\site-packages\homeassistant__main__.py”, line 359, in main
monkey_patch_asyncio()
File “C:\Users\shane\AppData\Local\Programs\Python\Python36\lib\site-packages\homeassistant_main__.py”, line 58, in monkeypatch_asyncio
asyncio.tasks.Task.alltasks = IgnoreCalls()
TypeError: can’t set attributes of built-in/extension type ‘_asyncio.Task’
Other threads are not clear on this problem… Thanks in advance…
You may want to try uninstalling that version of Python and installing version 3.5.2. It’s been a long time since I ran HA on Windows, but there was some reason I remember at the time that I had to use the 32 bit version - I can’t remember why right now, but I believe it was in one of the dependencies or libraries that it created an issue. This may no longer be the case, but it’s something I remember that I had to do.
Also, when you run HA in the command window, make sure it’s as an Administrator. Right click on the start menu and choose Command Prompt (Admin)
Thanks rpitera…
Using “Admin Rights” in CMD had no effect.
I’ll next try the uninstall of ver 3.6 and install of 3.5.2 as you suggested.
I’ll post my findings to help others that encounter the same problem.
Thank You so much… rpitera… Your suggestion worked…
So to all Newbies…
Take Note: As of 01/11/2016 you must use Ver 3.5.2 or Python, or you will have problems.
The newer versions of Python as of this posting do not seem to work.