我刚刚开始我的Python之旅,并试图从:用Python和ARIMA预测季节时间序列复制代码。
当我尝试运行以下操作时:
import plotly.plotly as ply
我收到以下导入错误:
不推荐使用plotly.plotly模块,请安装图表工作室包并使用chart_studio.plotly模块.
我已经尝试卸载,然后重新安装到我的Anaconda实例,但没有成功。
发布于 2021-04-03 15:55:29
以下步骤可达到这一目的:
chart-studio
:pip install chart-studio
chart-studio
包导入:from chart_studio import plotly
代替from plotly import plotly
。
我们可以了解更多关于chart-studio
这里的知识。
发布于 2021-04-10 11:33:58
如前所述,您可以按以下方式使用plotly
:
from chart_studio import plotly
在此之后,您可以像往常一样使用其他关联库:
import plotly.offline as pyoff
import plotly.graph_objs as go
我希望这是有用的
发布于 2021-12-25 12:24:23
降级版本有帮助。试试这个:
!pip install plotly==3.10.0
from chart_studio import plotly
这解决了我在google中的错误
https://stackoverflow.com/questions/62094165
复制相似问题