Traceback (most recent call last):


 "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/usr/src/homeassistant/homeassistant/__main__.py", line 350, in <module>

sys.exit(main())


 "/usr/src/homeassistant/homeassistant/__main__.py", line 342, in main

exit_code = asyncio.run(setup_and_run_hass(config_dir, args))


 "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run

return loop.run_until_complete(main)


 "/usr/local/lib/python3.7/asyncio/base_events.py", line 583, in run_until_complete

return future.result()


 "/usr/src/homeassistant/homeassistant/__main__.py", line 249, in setup_and_run_hass

safe_mode=args.safe_mode,


 "/usr/src/homeassistant/homeassistant/bootstrap.py", line 83, in async_setup_hass

config_dict = await conf_util.async_hass_config_yaml(hass)


 "/usr/src/homeassistant/homeassistant/config.py", line 308, in async_hass_config_yaml

await merge_packages_config(hass, config, core_config.get(CONF_PACKAGES, {}))


 "/usr/src/homeassistant/homeassistant/config.py", line 643, in merge_packages_config

merge_type, _ = _identify_config_schema(component)


 "/usr/src/homeassistant/homeassistant/config.py", line 575, in _identify_config_schema

default_value = schema(key.default())
TypeError: 'Undefined' object is not callable

Traceback (most recent call last):


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 764, in <module>

main()


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 760, in main

dev=parsed.dev)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 741, in _main

resolve_packages(pre, clear, verbose, system, write, requirements_dir, packages, dev)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 709, in resolve_packages

requirements_dir=requirements_dir,


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/resolver.py", line 692, in resolve

req_dir=requirements_dir


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/utils.py", line 1403, in resolve_deps

req_dir=req_dir,


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/utils.py", line 1110, in actually_resolve_deps

resolver.resolve_constraints()


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/utils.py", line 862, in resolve_constraints

marker = marker_from_specifier(candidate.requires_python)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/markers.py", line 719, in marker_from_specifier

for marker_segment in cleanup_pyspecs(spec):


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/markers.py", line 288, in cleanup_pyspecs

for op_and_version_type, versions in _group_by_op(tuple(specs)):


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/markers.py", line 203, in _group_by_op

specs = [_get_specs(x) for x in list(specs)]


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/markers.py", line 203, in <listcomp>

specs = [_get_specs(x) for x in list(specs)]


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/markers.py", line 187, in _get_specs

for spec in set(specset):
TypeError: 'LegacySpecifier' object is not iterable
