Traceback (most recent call last):


 "/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 579, in run_until_complete

return future.result()


 "/usr/src/homeassistant/homeassistant/config_entries.py", line 562, in async_forward_entry_setup

result = await async_setup_component(self.hass, domain, self._hass_config)


 "/usr/src/homeassistant/homeassistant/setup.py", line 45, in async_setup_component

return await setup_tasks[domain]
# type: ignore


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

log_no_color=args.log_no_color,


 "/usr/src/homeassistant/homeassistant/bootstrap.py", line 150, in async_from_config_file

config_dict, hass, enable_log=False, skip_pip=skip_pip


 "/usr/src/homeassistant/homeassistant/bootstrap.py", line 95, in async_from_config_dict

await _async_set_up_integrations(hass, config)


 "/usr/src/homeassistant/homeassistant/bootstrap.py", line 376, in _async_set_up_integrations

*(async_setup_component(hass, domain, config) for domain in domains_to_load)


 "/usr/src/homeassistant/homeassistant/helpers/discovery.py", line 151, in async_load_platform

setup_success = await setup.async_setup_component(hass, component, hass_config)


 "/usr/src/homeassistant/homeassistant/setup.py", line 45, in async_setup_component

return await setup_tasks[domain]
# type: ignore


 "/usr/src/homeassistant/homeassistant/setup.py", line 51, in async_setup_component

return await task
# type: ignore


 "/usr/src/homeassistant/homeassistant/config_entries.py", line 562, in async_forward_entry_setup

result = await async_setup_component(self.hass, domain, self._hass_config)


 "/usr/src/homeassistant/homeassistant/setup.py", line 45, in async_setup_component

return await setup_tasks[domain]
# type: ignore


 "/usr/src/homeassistant/homeassistant/helpers/discovery.py", line 151, in async_load_platform

setup_success = await setup.async_setup_component(hass, component, hass_config)


 "/usr/src/homeassistant/homeassistant/setup.py", line 45, in async_setup_component

return await setup_tasks[domain]
# type: ignore


 "/usr/src/homeassistant/homeassistant/setup.py", line 136, in _async_setup_component

hass, config, integration


 "/usr/src/homeassistant/homeassistant/config.py", line 772, in async_process_component_config

p_integration = await async_get_integration_with_requirements(hass, p_name)


 "/usr/src/homeassistant/homeassistant/requirements.py", line 44, in async_get_integration_with_requirements

await async_process_requirements(hass, integration.domain, integration.requirements)


 "/usr/src/homeassistant/homeassistant/requirements.py", line 65, in async_process_requirements

if pkg_util.is_installed(req):


 "/usr/src/homeassistant/homeassistant/util/package.py", line 45, in is_installed

return version(req.project_name) in req


 "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3137, in __contains__

return self.specifier.contains(item, prereleases=True)


 "/usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/specifiers.py", line 703, in contains

item = parse(item)


 "/usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py", line 31, in parse

return Version(version)


 "/usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py", line 200, in __init__

match = self._regex.search(version)
TypeError: expected string or bytes-like object

Traceback (most recent call last):


 "/home/rdemb/anaconda3/envs/py2/lib/python2.7/site-packages/ray/function_manager.py", line 408, in fetch_and_register_remote_function

function = pickle.loads(serialized_function)


 "/home/rdemb/anaconda3/envs/py2/lib/python2.7/pickle.py", line 1388, in loads

return Unpickler(file).load()


 "/home/rdemb/anaconda3/envs/py2/lib/python2.7/pickle.py", line 864, in load

dispatch[key](self)


 "/home/rdemb/anaconda3/envs/py2/lib/python2.7/pickle.py", line 1089, in load_newobj

obj = cls.__new__(cls, *args)
TypeError: __new__() takes at least 3 arguments (1 given)
