Dash & Python 3.7 don't work anymore

Hi I get the following error:

  File "index.py", line 7, in <module>
    import dash_html_components as html
  File "/Users/cristina/anaconda3/lib/python3.7/site-packages/dash_html_components/__init__.py", line 27, in <module>
    from ._imports_ import *
  File "/Users/cristina/anaconda3/lib/python3.7/site-packages/dash_html_components/_imports_.py", line 100, in <module>
    from .Script import Script
  File "/Users/cristina/anaconda3/lib/python3.7/site-packages/dash_html_components/Script.py", line 48
    def __init__(self, children=None, id=Component.UNDEFINED, n_clicks=Component.UNDEFINED, n_clicks_timestamp=Component.UNDEFINED, key=Component.UNDEFINED, role=Component.UNDEFINED, async=Component.UNDEFINED, charSet=Component.UNDEFINED, crossOrigin=Component.UNDEFINED, defer=Component.UNDEFINED, integrity=Component.UNDEFINED, src=Component.UNDEFINED, type=Component.UNDEFINED, accessKey=Component.UNDEFINED, className=Component.UNDEFINED, contentEditable=Component.UNDEFINED, contextMenu=Component.UNDEFINED, dir=Component.UNDEFINED, draggable=Component.UNDEFINED, hidden=Component.UNDEFINED, lang=Component.UNDEFINED, spellCheck=Component.UNDEFINED, style=Component.UNDEFINED, tabIndex=Component.UNDEFINED, title=Component.UNDEFINED, **kwargs):
                                                                                                                                                                                           ^
SyntaxError: invalid syntax

I read that it’s because I’m supposed to upgrade to another version but these are my up-to-date versions:

dash-core-components               0.30.1   
dash-html-components               0.13.1   
dash-renderer                      0.14.1   
dash-table-experiments             0.6.0   
plotly                             3.2.1    

and my python version is:

Python 3.7.0 | packaged by conda-forge | (default, Aug 27 2018, 17:24:52)

Thanks for reporting! This is broken right now, but we’re tracking this issue here: https://github.com/plotly/dash-html-components/issues/68

1 Like