Requires pandas, but not documented?
See original GitHub issueI’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.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:23 (5 by maintainers)
Top Results From Across the Web
Trying to import plotly.express but get this error even though ...
""" ImportError: Plotly express requires pandas to be installed. But I have pandas installed and if I run: pip show pandas. I get...
Read more >Installation — pandas 1.5.2 documentation
Installing with Anaconda The simplest way to install not only pandas, but Python and the most popular packages that make up the SciPy...
Read more >Installation — pandas 0.16.1 documentation
Trying out pandas, no installation required!¶. The easiest way to start experimenting with pandas doesn't involve installing pandas at all. Wakari is a...
Read more >Installation — pandas 1.3.5 documentation
The simplest way to install not only pandas, but Python and the most popular packages that ... If you need packages that are...
Read more >Getting started — pandas 1.5.2 documentation
Working with conda? pandas is part of the Anaconda distribution and can be installed with Anaconda or Miniconda: conda install pandas.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same problem.
By the way, i’ve got installed pandas, but i still get this error - http://joxi.ru/EA4DMDzipXPV0A