看网上有的解决方案是: from plotly import graph_objs as go 但没什么用。 解决方案: pip install plotly pip install cufflinks