core: ImportError: cannot import name 'Zeroconf'
hello there… first time instal and after several attempts im still sticking at
The following components and platforms could not be set up:
ignore
discovery
zeroconf
Please check your config.
config appears fine both via interface check and thru ssh.
after searching I have tried both updating discovery and zeroconf and also downgrading to zeroconf 2.0
log files are
2018-11-12 15:43:58 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
2018-11-12 15:43:58 WARNING (MainThread) [homeassistant.setup] Setup of frontend is taking over 10 seconds.
2018-11-12 15:43:59 ERROR (MainThread) [homeassistant.setup] Error during setup of component discovery
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 145, in _async_setup_component
hass, processed_config)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/discovery.py", line 114, in async_setup
from netdisco.discovery import NetworkDiscovery
ImportError: cannot import name 'NetworkDiscovery'
2018-11-12 15:44:01 ERROR (MainThread) [homeassistant.loader] Unable to find component ignore
2018-11-12 15:44:01 ERROR (MainThread) [homeassistant.setup] Setup failed for ignore: Component not found.
2018-11-12 15:44:03 ERROR (MainThread) [homeassistant.setup] Error during setup of component zeroconf
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 148, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/zeroconf.py", line 32, in setup
from zeroconf import Zeroconf, ServiceInfo
ImportError: cannot import name 'Zeroconf'
running on PiZero
thanks very
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (6 by maintainers)
Fixed the formatting 👍
First issue I found is under
discovery:
The
ignore
line should be indented 2 spaces.