TypeError TypeError: can only concatenate str (not "list") to str

Why do I get this error? TypeError TypeError: can only concatenate str (not “list”) to str

import dash
from dash import dcc
from dash import html
print(‘Todo importado correctamente’)

app=dash.Dash(name)

app.layout=html.Div([
html.H1(“Hi Sr”)])

if name==“main”:
app.run_server(debug=False)

Hello @ebersolorzano,

Welcome to the community!

This is indeed an odd error. Could you please tell us about what versions you are using?

Hi Sr. Thanks for reply. I am using python 3.10.8

Thanks in advance.

@ebersolorzano,

What about versions of Dash, Flask, etc?

The issue was solved. Thanks a million

1 Like