0.50.1 does not start (inc. LOG)

Hi, I upgraded from 0.48.0 to 0.50.1.

Now, HA wont load. The home-assistant service shows as “active”

I got massive entries in the LOG file. I don’t know were to start. Pls help.

2017-07-30 09:06:53 ERROR (Thread-4) [homeassistant.util.package] Unable to install package sqlalchemy==1.1.12: Exception:
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 316, in clobber
    ensure_dir(destdir)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
    os.makedirs(path)
  File "/srv/hass/hass_venv/lib/python3.4/os.py", line 237, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/srv/hass/hass_venv/lib/python3.4/site-packages/SQLAlchemy-1.1.12.dist-info'
2017-07-30 09:06:53 ERROR (MainThread) [homeassistant.setup] Not initializing recorder because could not install dependency sqlalchemy==1.1.12
2017-07-30 09:06:53 ERROR (MainThread) [homeassistant.setup] Setup failed for recorder: Could not install all requirements.
2017-07-30 09:07:01 ERROR (Thread-3) [homeassistant.util.package] Unable to install package aiohttp_cors==0.5.3: Exception:
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 316, in clobber
    ensure_dir(destdir)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
    os.makedirs(path)
  File "/srv/hass/hass_venv/lib/python3.4/os.py", line 237, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/srv/hass/hass_venv/lib/python3.4/site-packages/aiohttp_cors'
2017-07-30 09:07:01 ERROR (MainThread) [homeassistant.setup] Not initializing http because could not install dependency aiohttp_cors==0.5.3
2017-07-30 09:07:01 ERROR (MainThread) [homeassistant.setup] Setup failed for http: Could not install all requirements.
2017-07-30 09:07:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of history. Setup failed for dependencies: recorder, http
2017-07-30 09:07:01 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not setup all dependencies.
2017-07-30 09:07:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of api. Setup failed for dependencies: http
2017-07-30 09:07:01 ERROR (MainThread) [homeassistant.setup] Setup failed for api: Could not setup all dependencies.
2017-07-30 09:07:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of websocket_api. Setup failed for dependencies: http
2017-07-30 09:07:01 ERROR (MainThread) [homeassistant.setup] Setup failed for websocket_api: Could not setup all dependencies.
2017-07-30 09:07:01 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of frontend. Setup failed for dependencies: api, websocket_api
2017-07-30 09:07:01 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not setup all dependencies.
2017-07-30 09:07:02 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of restore_states. Setup failed for dependencies: recorder, frontend
2017-07-30 09:07:02 ERROR (MainThread) [homeassistant.setup] Setup failed for restore_states: Could not setup all dependencies.
2017-07-30 09:07:02 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of logbook. Setup failed for dependencies: recorder, frontend
2017-07-30 09:07:02 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not setup all dependencies.
2017-07-30 09:07:02 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of media_player. Setup failed for dependencies: http
2017-07-30 09:07:02 ERROR (MainThread) [homeassistant.setup] Setup failed for media_player: Could not setup all dependencies.
2017-07-30 09:07:02 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of config. Setup failed for dependencies: http
2017-07-30 09:07:02 ERROR (MainThread) [homeassistant.setup] Setup failed for config: Could not setup all dependencies.
2017-07-30 09:07:02 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of camera. Setup failed for dependencies: http
2017-07-30 09:07:02 ERROR (MainThread) [homeassistant.setup] Setup failed for camera: Could not setup all dependencies.
2017-07-30 09:07:08 ERROR (Thread-5) [homeassistant.util.package] Unable to install package pyfttt==0.3: Exception:
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 316, in clobber
    ensure_dir(destdir)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
    os.makedirs(path)
  File "/srv/hass/hass_venv/lib/python3.4/os.py", line 237, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/srv/hass/hass_venv/lib/python3.4/site-packages/pyfttt'
2017-07-30 09:07:08 ERROR (MainThread) [homeassistant.setup] Not initializing ifttt because could not install dependency pyfttt==0.3
2017-07-30 09:07:08 ERROR (MainThread) [homeassistant.setup] Setup failed for ifttt: Could not install all requirements.
2017-07-30 09:07:11 WARNING (MainThread) [homeassistant.setup] Setup of notify is taking over 10 seconds.
2017-07-30 09:07:12 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
2017-07-30 09:07:12 ERROR (Thread-10) [homeassistant.util.package] Unable to install package distro==1.0.4: Exception:
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 323, in clobber
    shutil.copyfile(srcfile, destfile)
  File "/srv/hass/hass_venv/lib/python3.4/shutil.py", line 108, in copyfile
    with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/srv/hass/hass_venv/lib/python3.4/site-packages/distro.py'
2017-07-30 09:07:12 ERROR (MainThread) [homeassistant.setup] Not initializing updater because could not install dependency distro==1.0.4
2017-07-30 09:07:12 ERROR (MainThread) [homeassistant.setup] Setup failed for updater: Could not install all requirements.
2017-07-30 09:07:14 WARNING (MainThread) [homeassistant.setup] Setup of switch is taking over 10 seconds.
2017-07-30 09:07:14 WARNING (MainThread) [homeassistant.setup] Setup of light is taking over 10 seconds.
2017-07-30 09:07:18 ERROR (Thread-6) [homeassistant.util.package] Unable to install package aiohttp_cors==0.5.3: Exception:
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 316, in clobber
    ensure_dir(destdir)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
    os.makedirs(path)
  File "/srv/hass/hass_venv/lib/python3.4/os.py", line 237, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/srv/hass/hass_venv/lib/python3.4/site-packages/aiohttp_cors'
2017-07-30 09:07:18 ERROR (MainThread) [homeassistant.setup] Not initializing emulated_hue because could not install dependency aiohttp_cors==0.5.3
2017-07-30 09:07:18 ERROR (MainThread) [homeassistant.setup] Setup failed for emulated_hue: Could not install all requirements.
2017-07-30 09:07:24 ERROR (Thread-2) [homeassistant.util.package] Unable to install package python_openzwave==0.4.0.31: Exception:
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 323, in clobber
    shutil.copyfile(srcfile, destfile)
  File "/srv/hass/hass_venv/lib/python3.4/shutil.py", line 108, in copyfile
    with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/srv/hass/hass_venv/lib/python3.4/site-packages/libopenzwave.cpython-34m.so'
2017-07-30 09:07:24 ERROR (MainThread) [homeassistant.setup] Not initializing zwave because could not install dependency python_openzwave==0.4.0.31
2017-07-30 09:07:24 ERROR (MainThread) [homeassistant.setup] Setup failed for zwave: Could not install all requirements.
2017-07-30 09:07:29 ERROR (Thread-7) [homeassistant.util.package] Unable to install package pilight==0.1.1: Exception:
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 316, in clobber
    ensure_dir(destdir)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
    os.makedirs(path)
  File "/srv/hass/hass_venv/lib/python3.4/os.py", line 237, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/srv/hass/hass_venv/lib/python3.4/site-packages/pilight'
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Not initializing pilight because could not install dependency pilight==0.1.1
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Setup failed for pilight: Could not install all requirements.
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.pilight. Setup failed for dependencies: pilight
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.pilight: Could not setup all dependencies.
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.pilight. Setup failed for dependencies: pilight
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.pilight: Could not setup all dependencies.
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.pilight. Setup failed for dependencies: pilight
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.pilight: Could not setup all dependencies.
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.pilight. Setup failed for dependencies: pilight
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.pilight: Could not setup all dependencies.
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.pilight. Setup failed for dependencies: pilight
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.pilight: Could not setup all dependencies.
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.pilight. Setup failed for dependencies: pilight
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.pilight: Could not setup all dependencies.
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.pilight. Setup failed for dependencies: pilight
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.pilight: Could not setup all dependencies.
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.pilight. Setup failed for dependencies: pilight
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.pilight: Could not setup all dependencies.
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.pilight. Setup failed for dependencies: pilight
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.pilight: Could not setup all dependencies.
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.pilight. Setup failed for dependencies: pilight
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.pilight: Could not setup all dependencies.
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.pilight. Setup failed for dependencies: pilight
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.pilight: Could not setup all dependencies.
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.pilight. Setup failed for dependencies: pilight
2017-07-30 09:07:29 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.pilight: Could not setup all dependencies.
2017-07-30 09:07:36 ERROR (Thread-11) [homeassistant.util.package] Unable to install package psutil==5.2.2: Exception:
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 316, in clobber
    ensure_dir(destdir)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
    os.makedirs(path)
  File "/srv/hass/hass_venv/lib/python3.4/os.py", line 237, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/srv/hass/hass_venv/lib/python3.4/site-packages/psutil'
2017-07-30 09:07:36 ERROR (MainThread) [homeassistant.setup] Not initializing sensor.systemmonitor because could not install dependency psutil==5.2.2
2017-07-30 09:07:36 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.systemmonitor: Could not install all requirements.
2017-07-30 09:07:44 ERROR (Thread-8) [homeassistant.util.package] Unable to install package python-forecastio==1.3.5: Exception:
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 323, in clobber
    shutil.copyfile(srcfile, destfile)
  File "/srv/hass/hass_venv/lib/python3.4/shutil.py", line 108, in copyfile
    with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/srv/hass/hass_venv/lib/python3.4/site-packages/test_cookies.py'
2017-07-30 09:07:44 ERROR (MainThread) [homeassistant.setup] Not initializing sensor.darksky because could not install dependency python-forecastio==1.3.5
2017-07-30 09:07:44 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.darksky: Could not install all requirements.
2017-07-30 09:07:49 ERROR (Thread-9) [homeassistant.util.package] Unable to install package zeroconf==0.19.1: Exception:
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 316, in clobber
    ensure_dir(destdir)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
    os.makedirs(path)
  File "/srv/hass/hass_venv/lib/python3.4/os.py", line 237, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/srv/hass/hass_venv/lib/python3.4/site-packages/enum_compat-0.0.2.dist-info'
2017-07-30 09:07:49 ERROR (MainThread) [homeassistant.setup] Not initializing zeroconf because could not install dependency zeroconf==0.19.1
2017-07-30 09:07:50 ERROR (MainThread) [homeassistant.setup] Setup failed for zeroconf: Could not install all requirements.
2017-07-30 09:07:50 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of ios. Setup failed for dependencies: http, zeroconf
2017-07-30 09:07:50 ERROR (MainThread) [homeassistant.setup] Setup failed for ios: Could not setup all dependencies.
2017-07-30 09:07:50 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of notify.ios. Setup failed for dependencies: ios
2017-07-30 09:07:50 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform notify.ios: Could not setup all dependencies.
2017-07-30 09:07:50 ERROR (MainThread) [homeassistant.components.notify] Unknown notification service specified
2017-07-30 09:07:57 ERROR (Thread-5) [homeassistant.util.package] Unable to install package yeelight==0.3.0: Exception:
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/wheel.py", line 316, in clobber
    ensure_dir(destdir)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
    os.makedirs(path)
  File "/srv/hass/hass_venv/lib/python3.4/os.py", line 237, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/srv/hass/hass_venv/lib/python3.4/site-packages/libpasteurize'
2017-07-30 09:07:57 ERROR (MainThread) [homeassistant.setup] Not initializing light.yeelight because could not install dependency yeelight==0.3.0
2017-07-30 09:07:57 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform light.yeelight: Could not install all requirements.

Ok, I downgraded to 0.48.0 again and everything works as expected. Whats the error in 0.50.1?

Maybe something in this post? Also read the breaking changes part about zwave: https://home-assistant.io/blog/2017/07/29/release-50/#

I came across the same problem, HA just dead. I found that the whole deps folder turns blank, meaning all files just gone.

Ok, I tried to update to 0.50.2. Same error. And I recognized the same as @cxlwill, after upgrading the “deps” folder is gone.
I went back to 0.48.0 and everything seems normal.

The deps folder has changed location to virtual environment.
Its located in: path/to/venv/lib/python3.6/site-packages

But where is my “path/to/venv”??. I installed HA with AIO installer.

Pls help

Ok found a solution.

The deps folder is now located in: /srv/hass/hass_venv/lib/python3.4/site-packages

I start the HA Service with root, so I always have to set 0777 privileges to the deps folder after upgrading a new version.
So the deps folder changes, I also must give the new path 0777 privileges.

0.50.2 works for me now.
(Why is that not a “breaking change???”)

I am running HA on Ubuntu, always install the updates with sudo, but this was the first time I experienced this problem.

I modified the ownership of my entire /usr/local/lib/python3.5/dist-packages/homeassistant folder to my own user (which running HA) and provided 0770 privilages.

I suggest to modify the ownership (chown) for the user running HA and provide only 0770 privileges.

Thx, I will try.