尝试使用pipenv使beakerx与JupyterLab一起工作。
安装
$ pipenv install beakerx
$ beakerx install
Installing /Users/layne/.pyenv/versions/3.7.3/envs/biodb-py3.7.3/lib/python3.7/site-packages/beakerx/static -> beakerx
- Validating: problems found:
X require: /Users/layne/.pyenv/versions/3.7.3/envs/biodb-py3.7.3/share/jupyter/nbextensions/beakerx/tree.js
OK section: tree
Full spec: {'section': 'tree', 'src': 'static', 'dest': 'beakerx', 'require': 'beakerx/tree'}
Installing /Users/layne/.pyenv/versions/3.7.3/envs/biodb-py3.7.3/lib/python3.7/site-packages/beakerx/static -> beakerx
- Validating: problems found:
X require: /Users/layne/.pyenv/versions/3.7.3/envs/biodb-py3.7.3/share/jupyter/nbextensions/beakerx/extension.js
OK section: notebook
检查启用了哪些扩展程序
$ jupyter nbextension list
notebook section
ipyvolume/extension enabled
- Validating: OK
jupyter-webrtc/extension enabled
- Validating: OK
jupyter-datawidgets/extension enabled
- Validating: OK
jupyter-matplotlib/extension enabled
- Validating: OK
jupyter-threejs/extension enabled
- Validating: OK
jupyter-js-widgets/extension enabled
- Validating: OK
beakerx/extension enabled
- Validating: problems found:
- require? X beakerx/extension
tree section
beakerx/tree enabled
- Validating: problems found:
- require? X beakerx/tree
在几篇文章中看到了这种尝试。
$ jupyter nbextension enable beakerx --py --sys-prefix
Enabling tree extension beakerx/tree...
- Validating: problems found:
- require? X beakerx/tree
Enabling notebook extension beakerx/extension...
- Validating: problems found:
- require? X beakerx/extension
如您所见,beakerx/tree
和beakerx/extension
似乎没有安装。
我一直在尝试jupyter labextension install beakerx/...
显示npm软件包
npm list
biodb@1.0.0 /Users/layne/Desktop/BioDB
└── beakerx-jupyterlab@1.4.1