✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Error first time using dash: UnsupportedOperation: not writable

Hello, I just tried my first steps with dash but I get an error running this code:

import dash
import dash_core_components as dcc
import dash_html_components as html

app = dash.Dash()

app.layout = html.Div(children=‘Hello Dash’)


The error says:

File "C:\Users\TO3THY0\AppData\Local\conda\conda\envs\DataScience\lib\sitepackages\click\utils.py", line 259, in echofile.write(message)

UnsupportedOperation: not writable

I already tried to use an older flask version and edited in utils.py and termui.pythe the parameters of file from None to sys.stdout in the definition of the echo and secho function as it was suggested to other people having the same problem. Unfortunately it is not working for me.

I am using spyder 3.2.4 and python 3.6.10.

Thank you for your help!