Skip to content

Failed to load model class 'CytoscapeModel' from module 'pyvipr' on a fresh install #226

@kaisengit

Description

@kaisengit

Hey there,

following the the example found on https://pyvipr.readthedocs.io/en/latest/tellurium_examples.html

import tellurium as te
import pyvipr.tellurium_viz as tviz

r = te.loada("""
    J1:S1 -> S2; k1*S1;
    J2:S2 -> S3; k2*S2;
    J3:S4 -> S3; k2*S4;

    k1= 0.1; k2 = 0.2;
    S1 = 10; S2 = 0; S3 = 0; S4 = 20;
""")

tviz.sp_view(r)

I get the following error:

Failed to load model class 'CytoscapeModel' from module 'pyvipr'
loadClass@http://localhost:8890/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.40eaa5b8e976096d50b2.js?v=40eaa5b8e976096d50b2:1:74856
loadModelClass@http://localhost:8890/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:10729
_make_model@http://localhost:8890/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:7517
new_model@http://localhost:8890/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:5137
handle_comm_open@http://localhost:8890/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:3894
134/v/this._handleCommOpen@http://localhost:8890/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.40eaa5b8e976096d50b2.js?v=40eaa5b8e976096d50b2:1:73393
_handleCommOpen@http://localhost:8890/static/lab/jlab_core.a10b9b009324ae53c035.js?v=a10b9b009324ae53c035:2:1001314

pyvipr 1.0.7
tellurium 2.2.7
jupyterlab 3.5.3

And the jupyerlab plugin was installed yesterday via:

conda install pyvipr -c ortegas
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install pyvipr

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