Hi Andrey, I tested,
from flask import Flask import dash server = Flask(__name__) and got the same error as before (with Dash application) "AttributeError: 'DummyMod' object has no attribute 'startswith'". Since Dash is written on top of Flask, Plotly. js, and React. js, the error seems to be related to Python Flask, it may have to do with the environment variable settings: https://stackoverflow.com/questions/31431755/flask-error-attributeerror-nonetype-object-has-no-attribute-startswith . Kind regards, Elimboto On Mon, Jan 11, 2021 at 4:55 AM Andrey Novoseltsev <[email protected]> wrote: > Hi Elimboto, > > No idea what is happening here, it is installed via pip just like other > packages - if you figure out what exactly does it want, please do let me > know! > > Best, > Andrey > > On Sunday, 3 January 2021 at 10:46:47 UTC-7 [email protected] wrote: > >> I also got another error "AttributeError: 'DummyMod' object has no >> attribute 'startswith'" when testing Dash: >> >> import dash >> import dash_core_components as dcc >> import dash_html_components as html >> >> app = dash.Dash() >> >> The error is caused by the last line, "app =...". It may have something >> to do with setting the environment variable. >> >> Kind regards, >> >> Elimboto >> > -- > You received this message because you are subscribed to the Google Groups > "sage-cell" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-cell/2b68d81c-d797-42e6-8e37-4b706bfa6814n%40googlegroups.com > <https://groups.google.com/d/msgid/sage-cell/2b68d81c-d797-42e6-8e37-4b706bfa6814n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sage-cell" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/CACEZTmu%3Dts%2B_UfF3phiCSy7p%3D9gknTd1M9OR%3DcUV%3DJJ6feBRcw%40mail.gmail.com.
