Hi, please could someone help me to solve this problem? Plotly isn’t importing and I have no idea why… Any help appreciated!
import plotly.offline as pyo
from plotly.graph_objs import *
from plotly import tools
import plotly.plotly as py
pyo.offline.init_notebook_mode()
This yields:
ImportError Traceback (most recent call last)
in ()
----> 1 import plotly.offline as pyo
2 from plotly.graph_objs import *
3 from plotly import tools
4 import plotly.plotly as py
5 import pandas as pd
C:\Users\Lewis\Anaconda3\Lib\site-packages\plotly\plotly_init_.py in ()
8
9 “”"
—> 10 from . plotly import (
11 sign_in,
12 update_plot_options,
C:\Users\Lewis\Anaconda3\Lib\site-packages\plotly\plotly\plotly.py in ()
28 from requests.compat import json as _json
29
—> 30 from plotly import exceptions, files, session, tools, utils
31 from plotly.api import v1, v2
32 from plotly.plotly import chunked_requests
ImportError: cannot import name ‘exceptions’