9

When I try to import plotly.express I get the error:

ImportError: Plotly express requires pandas to be installed.

The installation notes did not mention having to install anything additional. I can import plotly on its own, I only get the error when importing plotly.express. Any ideas on how to fix this?

Arghya Sadhu
  • 41,002
  • 9
  • 78
  • 107
Pzet
  • 470
  • 2
  • 4
  • 11

1 Answers1

4

Pandas is a dependency that is only used in plotly.express not in plotly. For more you can visit this issue.So you need to install pandas using pip install pandas or conda install -c anaconda pandas

ashraful16
  • 2,742
  • 3
  • 11
  • 32