No module named '_plotly_utils'

i have been trying to install and use plotly in jupyter but when importing i get this error message and i have no idea why…

i tried different environment but the same error persists. i also was trying to look it up on google but did not find any reasonable answer anywhere.

if somebody will help me out to solve this thing, i would really appreaciate

Hi @nirvikalpa,

Welcome to the forums! This kind of error, where plotly can’t find its own modules, is usually caused by accidentally having multiple versions of plotly installed using different methods (e.g. using both pip and conda).

Try uninstall plotly using both pip and conda

$ pip uninstall plotly
$ conda uninstall plotly

and then reinstalling it with only one or the other.

Hope that helps!
-Jon

1 Like