Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform

await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)


 "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for

return fut.result()


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/xiaomi_miio/switch.py", line 100, in async_setup_platform

from miio import Device, DeviceException


 "/srv/homeassistant/lib/python3.7/site-packages/miio/__init__.py", line 2, in <module>

from miio.airconditioningcompanion import AirConditioningCompanion


 "/srv/homeassistant/lib/python3.7/site-packages/miio/airconditioningcompanion.py", line 8, in <module>

from .device import Device, DeviceException


 "/srv/homeassistant/lib/python3.7/site-packages/miio/device.py", line 10, in <module>

import construct


 "/srv/homeassistant/lib/python3.7/site-packages/construct/__init__.py", line 22, in <module>

from construct.core import *


 "/srv/homeassistant/lib/python3.7/site-packages/construct/core.py", line 5, in <module>

from construct.lib import *


 "/srv/homeassistant/lib/python3.7/site-packages/construct/lib/__init__.py", line 1, in <module>

from construct.lib.containers import *


 "/srv/homeassistant/lib/python3.7/site-packages/construct/lib/containers.py", line 1, in <module>

from construct.lib.py3compat import *


 "/srv/homeassistant/lib/python3.7/site-packages/construct/lib/py3compat.py", line 14, in <module>

import ruamel.yaml


 "/srv/homeassistant/lib/python3.7/site-packages/ruamel/yaml/__init__.py", line 79, in <module>

from .cyaml import *
# NOQA


 "/srv/homeassistant/lib/python3.7/site-packages/ruamel/yaml/cyaml.py", line 5, in <module>

from _ruamel_yaml import CParser, CEmitter
# type: ignore


 "_ruamel_yaml.pyx", line 63, in init _ruamel_yaml
AttributeError: type object '_ruamel_yaml.Mark' has no attribute '__reduce_cython__'

"Traceback (most recent call last):

 "pokecli.py", line 38, in <module>
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineExceptionImportError: No module named pgoapi.exceptions"