Got a new TV and started to play with HA again. I was excited to see there is a component for the WebOS tv, but I can’t get it to work.
Errors below. Any thoughts why this is happening and what I could do to fix it?
2018-09-16 10:49:38 ERROR (Thread-4) [homeassistant.util.package] Unable to install package pylgtv==0.1.7: Exception:
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/srv/homeassistant/lib/python3.5/site-packages/pip/commands/install.py”, line 360, in run
prefix=options.prefix_path,
File “/srv/homeassistant/lib/python3.5/site-packages/pip/req/req_set.py”, line 784, in install
**kwargs
File “/srv/homeassistant/lib/python3.5/site-packages/pip/req/req_install.py”, line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File “/srv/homeassistant/lib/python3.5/site-packages/pip/req/req_install.py”, line 1064, in move_wheel_files
isolated=self.isolated,
File “/srv/homeassistant/lib/python3.5/site-packages/pip/wheel.py”, line 345, in move_wheel_files
clobber(source, lib_dir, True)
File “/srv/homeassistant/lib/python3.5/site-packages/pip/wheel.py”, line 316, in clobber
ensure_dir(destdir)
File “/srv/homeassistant/lib/python3.5/site-packages/pip/utils/init.py”, line 83, in ensure_dir
os.makedirs(path)
File “/usr/lib/python3.5/os.py”, line 241, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: ‘/srv/homeassistant/lib/python3.5/site-packages/websockets’
2018-09-16 10:49:38 ERROR (MainThread) [homeassistant.requirements] Not initializing media_player.webostv because could not install requirement pylgtv==0.1.7
2018-09-16 10:49:38 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform media_player.webostv: Could not install all requirements.