
Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/tmp/pip-build-wfc_1v3w/mujoco-py/setup.py", line 52, in <module>

cmdclass={'build': Build},


 "/home/daniel/seita-venvs/py3-tensorflow/lib/python3.5/site-packages/setuptools/__init__.py", line 129, in setup

return distutils.core.setup(**attrs)


 "/usr/lib/python3.5/distutils/core.py", line 148, in setup

dist.run_commands()


 "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands

self.run_command(cmd)


 "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command

cmd_obj.run()


 "/home/daniel/seita-venvs/py3-tensorflow/lib/python3.5/site-packages/setuptools/command/install.py", line 61, in run

return orig.install.run(self)


 "/usr/lib/python3.5/distutils/command/install.py", line 583, in run

self.run_command('build')


 "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command

self.distribution.run_command(command)


 "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command

cmd_obj.run()


 "/tmp/pip-build-wfc_1v3w/mujoco-py/setup.py", line 19, in run

spec.loader.exec_module(builder)


 "<frozen importlib._bootstrap_external>", line 665, in exec_module


 "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed


 "/tmp/pip-build-wfc_1v3w/mujoco-py/mujoco_py/builder.py", line 22, in <module>

from mujoco_py.utils import discover_mujoco


 "/tmp/pip-build-wfc_1v3w/mujoco-py/mujoco_py/__init__.py", line 1, in <module>

from mujoco_py.builder import cymj, ignore_mujoco_warnings, functions, MujocoException


 "/tmp/pip-build-wfc_1v3w/mujoco-py/mujoco_py/builder.py", line 502, in <module>

cymj = load_cython_ext(mjpro_path)


 "/tmp/pip-build-wfc_1v3w/mujoco-py/mujoco_py/builder.py", line 81, in load_cython_ext

cext_so_path = builder.build()


 "/tmp/pip-build-wfc_1v3w/mujoco-py/mujoco_py/builder.py", line 238, in build

built_so_file_path = self._build_impl()


 "/tmp/pip-build-wfc_1v3w/mujoco-py/mujoco_py/builder.py", line 312, in _build_impl

join(get_nvidia_lib_dir(), 'libOpenGL.so.0'))


 "/tmp/pip-build-wfc_1v3w/mujoco-py/mujoco_py/builder.py", line 173, in fix_shared_library

so_file])


 "/usr/lib/python3.5/subprocess.py", line 581, in check_call

raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command '['patchelf', '--add-needed', '/usr/lib/nvidia-390/libOpenGL.so.0', '/tmp/pip-build-wfc_1v3w/mujoco-py/mujoco_py/generated/_pyxbld_LinuxExtensionBuilder/lib.linux-x86_64-3.5/mujoco_py/cymj.cpython-35m-x86_64-linux-gnu.so']' returned non-zero exit status 1

Traceback (most recent call last):


 "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner

self.run()


 "/srv/homeassistant-3.7/lib/python3.7/site-packages/alarmdecoder/devices/base_device.py", line 148, in run

self._device.read_line(timeout=self.READ_TIMEOUT)


 "/srv/homeassistant-3.7/lib/python3.7/site-packages/alarmdecoder/devices/socket_device.py", line 303, in read_line

read_ready, _, _ = select.select([self._device], [], [], 0.5)
ValueError: file descriptor cannot be a negative integer (-1)
