Error: No module named '_plotly_utils.importers' when import a module plotly for python

I am working in a jupiter notebook using a conda environment. I am trying to import a module plotly (library for Python) for plotting, but I get an error (see below).

from plotly import graph_objects as go
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-41-077f328b714a> in <module>
----> 1 from plotly import graph_objects as go
D:\Anaconda3\lib\site-packages\plotly\__init__.py in <module> 28 from __future__ import absolute_import 29 import sys
---> 30 from _plotly_utils.importers import relative_import 31 32
ModuleNotFoundError: No module named '_plotly_utils.importers'

I already did pip install plotly-utils.

CMD with conda environment give me this after pip list:

(base) C:\Users\Alex>pip list
Package Version
---------------------------------- -------------------
...
...
plotly 4.9.0
plotly-utils 0.0.3
pluggy 0.13.1
ply 3.11
prometheus-client 0.8.0
...
...

But i still have this problem. Where can i find and install the module _plotly_utils.importers?

1

1 Answer

Try this

conda install -c plotly

if it doesn't work try this

pip install plotly
pip install cufflinks
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like