试图让 beakerx 使用 pipenv 与 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