Skip to content

installation issue #15

Description

@YuriyMikheev

Hi!

I had installed kaleido and plotly to the ubuntu server according instructions. But the error occurred:
Traceback (most recent call last):
File "kt.py", line 1, in
from kaleido.scopes.plotly import PlotlyScope
ModuleNotFoundError: No module named 'kaleido'

code is:

from kaleido.scopes.plotly import PlotlyScope
import plotly.graph_objects as go
scope = PlotlyScope()

fig = go.Figure(data=[go.Scatter(y=[1, 3, 2])])
with open("figure.png", "wb") as f:
f.write(scope.transform(fig, format="png"))

what problem is?
how could I correct it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions