MSG
MSG

Reputation: 353

ModuleNotFoundError: No module named 'plotly.graph_objects'

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

Upvotes: 15

Views: 33274

Answers (3)

Alejandro De Castro
Alejandro De Castro

Reputation: 2247

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

Upvotes: 0

vestland
vestland

Reputation: 61084

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

import plotly.graph_objects as go

Upvotes: 2

Dark Templar
Dark Templar

Reputation: 1295

You should use instead:

from plotly import graph_objs as go

Upvotes: 32

Related Questions