Got these errors
Installing collected packages: voluptuous, requests, homeassistant, multidict, yarl
Found existing installation: voluptuous 0.9.3
Uninstalling voluptuous-0.9.3:
Exception:
Traceback (most recent call last):
File “/usr/lib/python3.4/shutil.py”, line 522, in move
os.rename(src, real_dst)
PermissionError: [Errno 13] Permission denied: ‘/srv/homeassistant/lib/python3.4/site-packages/voluptuous-0.9.3.egg-info’ -> ‘/tmp/pip-v_eczr2u-uninstall/srv/homeassistant/lib/python3.4/site-packages/voluptuous-0.9.3.egg-info’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/srv/homeassistant/lib/python3.4/site-packages/pip/commands/install.py”, line 342, in run
prefix=options.prefix_path,
File “/srv/homeassistant/lib/python3.4/site-packages/pip/req/req_set.py”, line 778, in install
requirement.uninstall(auto_confirm=True)
File “/srv/homeassistant/lib/python3.4/site-packages/pip/req/req_install.py”, line 754, in uninstall
paths_to_remove.remove(auto_confirm)
File “/srv/homeassistant/lib/python3.4/site-packages/pip/req/req_uninstall.py”, line 115, in remove
renames(path, new_path)
File “/srv/homeassistant/lib/python3.4/site-packages/pip/utils/init.py”, line 267, in renames
shutil.move(old, new)
File “/usr/lib/python3.4/shutil.py”, line 532, in move
rmtree(src)
File “/usr/lib/python3.4/shutil.py”, line 463, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File “/usr/lib/python3.4/shutil.py”, line 421, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File “/usr/lib/python3.4/shutil.py”, line 419, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
PermissionError: [Errno 13] Permission denied: ‘requires.txt’
(homeassistant) pi@hassbian:~ $