Skip to content

Got UserWarning: K3DBackend only works properly within Jupyter Notebook in JupyterLite #52

@ruoyu0088

Description

@ruoyu0088

Here is the notebook that shows the warning:

https://ruoyu0088.github.io/jupyterlite/lab/index.html?path=demo%2Flibs%2Ftest_spb.ipynb

the get_environment() function check Notebook with following code:

        shell = get_ipython().__class__.__name__
        if shell == "ZMQInteractiveShell":
            return 0  # Jupyter notebook or qtconsole

however, in JupyterLite, get_ipython().__class__ is pyodide_kernel.interpreter.Interpreter.

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