Skip to content

Notebook with ipyvolume not working : install problem ? #415

@patquem

Description

@patquem

Hello,

One year ago, I succeed in using ipyvolume with a python-3.7.7 kernel.
Today, working on a new virtual env (with the same python kernel), impossible to make my notebook running.
From a new ('empty') virtual env. , I have tested and limited the 'pip' install process to the following packages :

  • pip install numpy
  • pip install notebook
  • pip install ipywidget

a jupyter nbextensions list shows that ipyvolume and jupyter-threejs are both enabled.

For testing, I have executed the example given in the the first page of the ipyvolume website (the one with ipv.quickvolshow()), and nothing happened.

Note that when opening a new .ipynb, the following messages appears in my console :

[I 11:08:43.203 NotebookApp] Creating new notebook in /libs/common/notebooks
[W 11:08:44.385 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20220905110826 (::1) 6.030000ms referer=http://localhost:8888/notebooks/libs/common/notebooks/Untitled.ipynb?kernel_name=python3
[I 11:08:44.388 NotebookApp] Kernel started: 101fa28b-9754-4e8f-925c-b49df97331cd, name: python3
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.control
[IPKernelApp] WARNING | No such comm: 46087822-cd9d-4712-b126-b83734d4178e

But according to notes on forum this error and warning are harmless (jupyter-widgets/ipywidgets#3454 or https://discourse.jupyter.org/t/ipkernelapp-error-and-warning/13820/7). (I was not faced to these messages in my previous virtual env)

Then, when running the example, the following error messages appear :

[W 11:09:15.941 NotebookApp] 404 GET /static/jupyter-threejs.js?v=20220905110826 (::1) 0.000000ms referer=http://localhost:8888/notebooks/libs/common/notebooks/Untitled.ipynb?kernel_name=python3
[W 11:09:15.990 NotebookApp] 404 GET /static/three.js?v=20220905110826 (::1) 0.000000ms referer=http://localhost:8888/notebooks/libs/common/notebooks/Untitled.ipynb?kernel_name=python3

Any idea of what's wrong ?
Do you reproduce these problems when installing ipyvolume ?
Any suggestion to do a correct ipyvolume install ?
(I pass a lot of time to try to fix this problem : downgrading packages / adding jupyter complement ones .. without any success).

Thank you for your help,
Patrick

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