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

Asked By: MSG

||

Answers:

You should use instead:

from plotly import graph_objs as go

Answered By: Dark Templar

This is the approach now mostly used in the plotly docs. Example:

import plotly.graph_objects as go
Answered By: vestland

In my case the error was because i was using python 2.7 instead of python 3

Answered By: Ale DC
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.