Gene Walker
Gene Walker

Reputation: 21

Dash was not successfully imported. Make sure you don't have a file named 'dash.py' in your current directory

This error showed up randomly after I had been running plotly-dash scripts for weeks.

"Dash was not successfully imported. Make sure you don't have a file named 'dash.py' in your current directory"

  1. I've uninstalled and reinstalled dash (didn't work)
  2. I found a file named dash.py in a Dash file but when I change the name or remove it, it causes other errors to show (didn't work )
  3. "It sounds like something is wrong with the installation of the Dash package. What does the contents of that init.py look like? It should be this:

https://github.com/plotly/dash/blob/master/dash/init.py" I did this too and (didn't work)

Upvotes: 2

Views: 914

Answers (1)

antoine
antoine

Reputation: 672

There are two possibilities to solve this:

Upvotes: 3

Related Questions