gpt4 book ai didi

python - 导入错误 : Plotly express requires pandas to be installed

转载 作者:行者123 更新时间:2023-12-03 19:05:50 25 4
gpt4 key购买 nike

当我尝试导入 plotly.express 时出现错误:

ImportError: Plotly express requires pandas to be installed.
安装说明没有提到必须安装任何额外的东西。我可以自己导入 plotly,只有在导入 plotly.express 时才会出现错误。有想法该怎么解决这个吗?

最佳答案

Pandas 是一个仅在 中使用的依赖项plotly.express 不在 plotly .如需更多信息,您可以访问此 issue .所以你需要使用pip install pandas来安装pandas或 conda install -c anaconda pandas

关于python - 导入错误 : Plotly express requires pandas to be installed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63656891/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com