Closed
Description
I'm new to plotly. I installed plotly with pip install plotly==4.5.4
and when I tried to generate a graph, I got 'ImportError: Plotly express requires pandas to be installed.'
The getting-started page says "This package contains everything you need to write figures to standalone HTML files." I looked through the documentation, but couldn't find anywhere that said pandas was required, or how to install pandas.
To reproduce:
>>> import plotly.express as px
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/ken/blog/corona/env/lib/python3.7/site-packages/plotly/express/__init__.py", line 12, in <module>
Plotly express requires pandas to be installed."""
ImportError: Plotly express requires pandas to be installed.
Maybe this is intentional (see #2125), but I think the documentation should be clearer. Automatically installing pandas would be even better.
Metadata
Metadata
Assignees
Labels
No labels