Installation Can';t正确安装和使用pythreejs

Installation Can';t正确安装和使用pythreejs,installation,jupyter,pythreejs,Installation,Jupyter,Pythreejs,我按照上的说明安装了pythreejs 查看jupyter nbextension列表的输出,一切看起来都很好: Known nbextensions: config dir: /home/gael/.jupyter/nbconfig notebook section jupyter-threejs/extension enabled - Validating: OK 但是当我启动服务器(jupyter-notebook)时,创建一个新的(Python3

我按照上的说明安装了pythreejs

查看jupyter nbextension列表的输出,一切看起来都很好:

Known nbextensions:
  config dir: /home/gael/.jupyter/nbconfig
    notebook section
      jupyter-threejs/extension  enabled 
      - Validating: OK
但是当我启动服务器(
jupyter-notebook
)时,创建一个新的(Python3)笔记本,并尝试运行示例代码

从pythreejs导入*
将numpy作为np导入
从IPython.display导入显示
从ipywidgets导入HTML、文本、输出、VBox
从traitlets导入链接,dlink
球体=网格(几何体=球体测量法(半径=1,宽度段=32,高度段=24),
材质=网状lambertMaterial(颜色='红色'),
位置=[2,1,0])
c=透视摄像机(位置=[0,5,5],向上=[0,1,0],
儿童=[方向光(颜色='白色',位置=[3,5,1],强度=0.5)])
场景=场景(儿童=[球,c,环境光(颜色='#777777'))
渲染器=渲染器(摄影机=c,
场景,
控件=[OrbitControls(controlling=c)])
显示(渲染器)
从pythreejs中,它没有向我显示嵌入在页面中的可视化窗口。而是在单元格下方显示一个哈希:

UmVuZGVyZXIoY2FtZXJhPVBlcnNwZWN0aXZlQ2FtZXJhKGNoaWxkcmVuPShEaXJlY3Rpb25hbExpZ2h0KGNvbG9yPSd3aGl0ZScsIGludGVuc2l0eT0wLjUsIHBvc2l0aW9uPSgzLjAsIDUuMCzigKY=
我还尝试了jupyter实验室和Python2,它有完全相同的行为

我错过了什么

系统:Ubuntu 18.04
Jupyter笔记本版本:5.7.8

仔细查看控制台中Jupyter的输出,我读到:

[W 18:55:45.544 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20200107185531 (127.0.0.1) 14.69ms referer=http://localhost:8889/notebooks/Untitled.ipynb?kernel_name=python3
以下是我所做的:

jupyter nbextension启用--py-widgtesextension
然后启动服务器:pythreejs工作

[W 18:55:45.544 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20200107185531 (127.0.0.1) 14.69ms referer=http://localhost:8889/notebooks/Untitled.ipynb?kernel_name=python3