Traceback (most recent call last):


 "/usr/local/lib/python3.6/dist-packages/homeassistant/loader.py", line 92, in get_component

module = importlib.import_module(path)


 "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 994, in _gcd_import


 "<frozen importlib._bootstrap>", line 971, in _find_and_load


 "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 665, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 678, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/usr/local/lib/python3.6/dist-packages/homeassistant/components/light/mqtt_json.py", line 20, in <module>

from homeassistant.components.light.mqtt import CONF_BRIGHTNESS_SCALE
ImportError: cannot import name 'CONF_BRIGHTNESS_SCALE'

Traceback (most recent call last):


 "demo_app/app.py", line 7, in <module>

from werkzeug.wsgi import DispatcherMiddleware
ImportError: cannot import name 'DispatcherMiddleware'
