Upgrade issues

Hi all,

I have tried to upgrade to the latest build tonight as per the getting started info but I am getting an error each time and not sure what it means please could anyone shed some light on this.


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/lib/python3/dist-packages/requests' -> '/tmp/pip-unzsvu96-uninstall/usr/lib/python3/dist-packages/requests'

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 215, in main
    status = self.run(options, args)
  File "/usr/local/lib/python3.4/dist-packages/pip/commands/install.py", line 317, in run
  File "/usr/local/lib/python3.4/dist-packages/pip/req/req_set.py", line 736, in install
  File "/usr/local/lib/python3.4/dist-packages/pip/req/req_install.py", line 742, in uninstall
  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 532, in move
  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: '__init__.py'

Thanks again


run the upgrade as the same user you ran the initial install as

Thanks @AlucardZero I was as far as I’m but will look into this now. Thanks