Skip to content

Issues with perspective-python examples  #4

Description

@BattosaiX

Hi - I just discovered perspective and I'm trying to play around with it
I am unable to run the python streaming examples provided in the webpage
(from here: https://github.com/sc1f/streaming-perspective-jupytercon-2020)
I am receiving two major errors so far
Even though I suspect it has to do with differences in versions, I have been so far not able to figure out the issue
First error at line 16 from "perspective_basics.ipynb"

image

Full error:

[Open Browser Console for more detailed log - Double click to close this message]
Failed to load model class 'PerspectiveModel' from module '@finos/perspective-jupyterlab'
Error: No version of module @finos/perspective-jupyterlab is registered
at f.loadClass (http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.40eaa5b8e976096d50b2.js?v=40eaa5b8e976096d50b2:1:74856)
at f.loadModelClass (http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:10729)
at f._make_model (http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:7517)
at f.new_model (http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:5137)
at f.handle_comm_open (http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:3894)
at _handleCommOpen (http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.40eaa5b8e976096d50b2.js?v=40eaa5b8e976096d50b2:1:73393)
at b._handleCommOpen (http://localhost:8888/static/lab/jlab_core.4d5114e25256eeddf4e4.js?v=4d5114e25256eeddf4e4:2:1039655)
at async b._handleMessage (http://localhost:8888/static/lab/jlab_core.4d5114e25256eeddf4e4.js?v=4d5114e25256eeddf4e4:2:1041645)

Then line 17

image

Would greatly appreciate your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions