2020-05-20 18:02:39 ERROR (SyncWorker_12) [homeassistant.util.package] Unable to install package HAP-python==2.8.4: Traceback (most recent call last):


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/__main__.py", line 23, in <module>

from pip._internal.cli.main import main as _main
# isort:skip # noqa


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 10, in <module>

from pip._internal.cli.autocompletion import autocomplete


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/cli/autocompletion.py", line 9, in <module>

from pip._internal.cli.main_parser import create_main_parser


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module>

from pip._internal.cli import cmdoptions


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/cli/cmdoptions.py", line 24, in <module>

from pip._internal.cli.progress_bars import BAR_TYPES


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/cli/progress_bars.py", line 12, in <module>

from pip._internal.utils.logging import get_indentation


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/utils/logging.py", line 18, in <module>

from pip._internal.utils.misc import ensure_dir


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/utils/misc.py", line 30, in <module>

from pip._internal.locations import (


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/locations.py", line 21, in <module>

from pip._internal.utils.typing import MYPY_CHECK_RUNNING, cast
ImportError: cannot import name 'cast' from 'pip._internal.utils.typing' (/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_internal/utils/typing.py)

Traceback (most recent call last):


 "/usr/local/bin/pip", line 9, in <module>

load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()


 "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 487, in load_entry_point

return get_distribution(dist).load_entry_point(group, name)


 "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2728, in load_entry_point

return ep.load()


 "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2346, in load

return self.resolve()


 "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2352, in resolve

module = __import__(self.module_name, fromlist=['__name__'], level=0)


 "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 74, in <module>

from pip.vcs import git, mercurial, subversion, bazaar
# noqa


 "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in <module>

from pip.download import path_to_url


 "/usr/lib/python2.7/dist-packages/pip/download.py", line 22, in <module>

import requests, six


 "/usr/lib/python2.7/dist-packages/requests/__init__.py", line 80, in <module>

from . import utils


 "/usr/lib/python2.7/dist-packages/requests/utils.py", line 25, in <module>

from .compat import parse_http_list as _parse_list_header


 "/usr/lib/python2.7/dist-packages/requests/compat.py", line 94, in <module>

from urllib3.packages.ordered_dict import OrderedDict
ImportError: No module named ordered_dict`
