Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/pychromecast/socket_client.py", line 1228, in _report_status

listener.new_cast_status(self.status)


 "/usr/src/homeassistant/homeassistant/components/cast/helpers.py", line 86, in new_cast_status

self._cast_device.new_cast_status(cast_status)


 "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 347, in new_cast_status

self.schedule_update_ha_state()


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 426, in schedule_update_ha_state

self.hass.add_job(self.async_update_ha_state(force_refresh))


 "/usr/src/homeassistant/homeassistant/core.py", line 293, in add_job

self.loop.call_soon_threadsafe(self.async_add_job, target, *args)


 "/usr/local/lib/python3.7/asyncio/base_events.py", line 736, in call_soon_threadsafe

self._check_closed()


 "/usr/local/lib/python3.7/asyncio/base_events.py", line 479, in _check_closed

raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

Traceback (most recent call last):


 "setup.py", line 359, in <module>

python_requires=">=3.6",


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup

return distutils.core.setup(**attrs)


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/distutils/core.py", line 148, in setup

dist.run_commands()


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/distutils/dist.py", line 966, in run_commands

self.run_command(cmd)


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/site-packages/setuptools/command/install.py", line 67, in run

self.do_egg_install()


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/site-packages/setuptools/command/install.py", line 109, in do_egg_install

self.run_command('bdist_egg')


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/distutils/cmd.py", line 313, in run_command

self.distribution.run_command(command)


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 164, in run

cmd = self.call_command('install_lib', warn_dir=0)


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 150, in call_command

self.run_command(cmdname)


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/distutils/cmd.py", line 313, in run_command

self.distribution.run_command(command)


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/site-packages/setuptools/command/install_lib.py", line 11, in run

self.build()


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/distutils/command/install_lib.py", line 107, in build

self.run_command('build_ext')


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/distutils/cmd.py", line 313, in run_command

self.distribution.run_command(command)


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run

_build_ext.run(self)


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/distutils/command/build_ext.py", line 340, in run

self.build_extensions()


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 708, in build_extensions

build_ext.build_extensions(self)


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions

self._build_extensions_serial()


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial

self.build_extension(ext)


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 196, in build_extension

_build_ext.build_extension(self, ext)


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension

depends=ext.depends)


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 538, in unix_wrap_ninja_compile

with_cuda=with_cuda)


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1359, in _write_ninja_file_and_compile_objects

error_prefix='Error compiling objects for extension')


 "/home/arslan/anaconda3/envs/dgr/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1683, in _run_ninja_build

raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
