Plotly not defined

The dash web server seems to start ok but in the browser, there is only a message saying “loading”. In the dev console, it shows “plotly is not defined” error message. pip install plotly says it’s already installed.

how do I fix this issue?

Code snippet? Are you using virtual environment? Maybe it is installed locally (when you check with pip) but not in venv.

Are you importing plotly properly in python file? I suppose that plotly is not defined occurs when python tries to call it.

Thanks for your response. The code I was running is the first example on the getting started page. I just found out that the code runs fine on IE11, but not Firefox. It seems to be that the network setting for Firefox is preventing the browser from fetching plotly js file from cdn.