ModuleNotFoundError: No module named 'plotly.graph_objects'
Question:
Trying to use 'plotly.graph_objects'
but I get this error
ModuleNotFoundError: No module named ‘plotly.graph_objects’
How do I download module and apply using anaconda navigator
Answers:
You should use instead:
from plotly import graph_objs as go
This is the approach now mostly used in the plotly docs. Example:
import plotly.graph_objects as go
In my case the error was because i was using python 2.7 instead of python 3
Trying to use 'plotly.graph_objects'
but I get this error
ModuleNotFoundError: No module named ‘plotly.graph_objects’
How do I download module and apply using anaconda navigator
You should use instead:
from plotly import graph_objs as go
This is the approach now mostly used in the plotly docs. Example:
import plotly.graph_objects as go
In my case the error was because i was using python 2.7 instead of python 3