Traceback (most recent call last):


 "/usr/lib/python3.6/site-packages/homeassistant/setup.py", line 148, in _async_setup_component

component.setup, hass, processed_config)


 "/usr/lib/python3.6/asyncio/futures.py", line 332, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup

future.result()


 "/usr/lib/python3.6/asyncio/futures.py", line 245, in result

raise self._exception


 "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/lib/python3.6/site-packages/homeassistant/components/coinbase.py", line 51, in setup

api_key, api_secret)


 "/usr/lib/python3.6/site-packages/homeassistant/components/coinbase.py", line 77, in __init__

from coinbase.wallet.client import Client


 "/usr/lib/python3.6/site-packages/coinbase/wallet/client.py", line 38, in <module>

from Crypto.Hash import SHA256


 "/usr/lib/python3.6/site-packages/Crypto/Hash/SHA256.py", line 23, in <module>

from Crypto.Util._raw_api import (load_pycryptodome_raw_lib,


 "/usr/lib/python3.6/site-packages/Crypto/Util/_raw_api.py", line 32, in <module>

from Crypto.Util.py3compat import byte_string
ImportError: cannot import name 'byte_string'

Traceback (most recent call last):


 "aqt/addons.py", line 71, in loadAddons


 "/Users/MyName/Library/Application Support/Anki2/addons21/review_heatmap/__init__.py", line 41, in <module>

from . import main
# noqa: F401


 "/Users/MyName/Library/Application Support/Anki2/addons21/review_heatmap/main.py", line 40, in <module>

from .gui.options import initializeOptions


 "/Users/MyName/Library/Application Support/Anki2/addons21/review_heatmap/gui/options.py", line 46, in <module>

from ..libaddon.gui.dialog_options import OptionsDialog


 "/Users/MyName/Library/Application Support/Anki2/addons21/review_heatmap/libaddon/gui/dialog_options.py", line 44, in <module>

from ..platform import PLATFORM
ImportError: cannot import name 'PLATFORM'
