Error while updating from 0.57.3 to 0.58

Any ideas on this one?

pi@hassbian:~ $ sudo su -s /bin/bash homeassistant
homeassistant@hassbian:/home/pi $ source /srv/homeassistant/bin/activate
(homeassistant) homeassistant@hassbian:/home/pi $ pip3 install --upgrade homeassistant
Collecting homeassistant
Downloading homeassistant-0.58.0-py2.py3-none-any.whl (7.5MB)
100% |████████████████████████████████| 7.5MB 23kB/s
Requirement already up-to-date: pytz>=2017.02 in /srv/homeassistant/lib/python3.4/site-packages (from homeassistant)
Requirement already up-to-date: chardet==3.0.4 in /srv/homeassistant/lib/python3.4/site-packages (from homeassistant)
Collecting yarl==0.14.0 (from homeassistant)
Downloading yarl-0.14.0.tar.gz (134kB)
100% |████████████████████████████████| 143kB 635kB/s
Exception:
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 324, in run
requirement_set.prepare_files(finder)
File “/srv/homeassistant/lib/python3.4/site-packages/pip/req/req_set.py”, line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File “/srv/homeassistant/lib/python3.4/site-packages/pip/req/req_set.py”, line 634, in _prepare_file
abstract_dist.prep_for_dist()
File “/srv/homeassistant/lib/python3.4/site-packages/pip/req/req_set.py”, line 129, in prep_for_dist
self.req_to_install.run_egg_info()
File “/srv/homeassistant/lib/python3.4/site-packages/pip/req/req_install.py”, line 412, in run_egg_info
self.setup_py, self.name,
File “/srv/homeassistant/lib/python3.4/site-packages/pip/req/req_install.py”, line 387, in setup_py
import setuptools # noqa
File “/srv/homeassistant/lib/python3.4/site-packages/setuptools/init.py”, line 14, in
from setuptools.dist import Distribution, Feature
File “/srv/homeassistant/lib/python3.4/site-packages/setuptools/dist.py”, line 22, in
from setuptools.depends import Require
File “/srv/homeassistant/lib/python3.4/site-packages/setuptools/depends.py”, line 7, in
from .py33compat import Bytecode
File “”, line 2237, in _find_and_load
File “”, line 2226, in _find_and_load_unlocked
File “”, line 1200, in _load_unlocked
File “”, line 1129, in _exec
File “”, line 1467, in exec_module
File “”, line 1570, in get_code
File “”, line 656, in _compile_bytecode
EOFError: marshal data too short