Hi have been trying to install the latest upgrade to HA but it keeps failing.
Any help please.
pi@HomeAssistantPi:~ $ pip3 install --upgrade homeassistant
Collecting homeassistant
Using cached homeassistant-0.18.2-py2.py3-none-any.whl
Collecting pytz>=2016.3 (from homeassistant)
Using cached pytz-2016.4-py2.py3-none-any.whl
Requirement already up-to-date: jinja2>=2.8 in /usr/local/lib/python3.4/dist-packages (from homeassistant)
Requirement already up-to-date: pyyaml<4,>=3.11 in /usr/local/lib/python3.4/dist-packages (from homeassistant)
Collecting requests<3,>=2 (from homeassistant)
Using cached requests-2.10.0-py2.py3-none-any.whl
Requirement already up-to-date: pip>=7.0.0 in /usr/local/lib/python3.4/dist-packages (from homeassistant)
Requirement already up-to-date: vincenty==0.1.4 in /usr/local/lib/python3.4/dist-packages (from homeassistant)
Requirement already up-to-date: voluptuous==0.8.9 in /usr/local/lib/python3.4/dist-packages (from homeassistant)
Requirement already up-to-date: MarkupSafe in /usr/local/lib/python3.4/dist-packages (from jinja2>=2.8->homeassistant)
Collecting setuptools>=0.6b1 (from voluptuous==0.8.9->homeassistant)
Using cached setuptools-20.10.1-py2.py3-none-any.whl
Installing collected packages: pytz, requests, homeassistant, setuptools
Found existing installation: pytz 2016.3
Uninstalling pytz-2016.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: '/usr/local/lib/python3.4/dist-packages/pytz-2016.3.dist-info/DESCRIPTION.rst' -> '/tmp/pip-lf9k9gnb-uninstall/usr/local/lib/python3.4/dist-packages/pytz-2016.3.dist-info/DESCRIPTION.rst'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/usr/local/lib/python3.4/dist-packages/pip/commands/install.py", line 317, in run
prefix=options.prefix_path,
File "/usr/local/lib/python3.4/dist-packages/pip/req/req_set.py", line 726, in install
requirement.uninstall(auto_confirm=True)
File "/usr/local/lib/python3.4/dist-packages/pip/req/req_install.py", line 746, in uninstall
paths_to_remove.remove(auto_confirm)
File "/usr/local/lib/python3.4/dist-packages/pip/req/req_uninstall.py", line 115, in remove
renames(path, new_path)
File "/usr/local/lib/python3.4/dist-packages/pip/utils/__init__.py", line 267, in renames
shutil.move(old, new)
File "/usr/lib/python3.4/shutil.py", line 535, in move
os.unlink(src)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.4/dist-packages/pytz-2016.3.dist-info/DESCRIPTION.rst'
Thanks
Cameron