A JupyterLab server extension
Project description
jupyterlab-primehub
Jupyterlab extension for PrimeHub
Requirements
- JupyterLab >= 2.2.5
Install
jupyter labextension install @infuseai/jupyterlab-primehub
pip install jupyterlab_primehub
jupyter serverextension enable jupyterlab_primehub
Uninstall
jupyter labextension uninstall @infuseai/jupyterlab-primehub
jupyter serverextension disable jupyterlab_primehub
pip uninstall jupyterlab_primehub
Build the Docker Image
Example docker file:
FROM jupyter/base-notebook
ARG PRIMEHUB_EXTENSION_VERSION="0.1.3"
USER $NB_UID
RUN pip install --no-cache-dir jupyterlab_primehub~=$PRIMEHUB_EXTENSION_VERSION && \
jupyter serverextension enable jupyterlab_primehub && \
jupyter labextension install @infuseai/jupyterlab-primehub@~v$PRIMEHUB_EXTENSION_VERSION && \
jupyter-lab build
Troubleshooting
-
If the JupyterLab < 2.2.5, you may see this error:
ValueError: No version of @infuseai/jupyterlab-primehub could be found that is compatible with the current version of JupyterLab. However, it seems to support a new version of JupyterLab. Consider upgrading JupyterLab. Conflicting Dependencies: JupyterLab Extension Package >=2.1.2 <2.2.0 >=2.2.5 <3.0.0 @jupyterlab/application >=2.1.1 <2.2.0 >=2.2.5 <3.0.0 @jupyterlab/apputils >=2.1.2 <2.2.0 >=2.2.5 <3.0.0 @jupyterlab/notebook >=5.1.0 <5.2.0 >=5.2.4 <6.0.0 @jupyterlab/services
-
If the
jupyter-client
version is too old, you may see this error:from jupyter_client import AsyncKernelManager ImportError: cannot import name ‘AsyncKernelManager’
-
If the
ipykernel
version is too old, you may see this error:AttributeError: 'AsyncKernelManager' object has no attribute ‘cleanup_resources'
Contributing
Please check DEVELOPMENT.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jupyterlab_primehub-0.1.3.tar.gz
(21.4 kB
view details)
Built Distribution
File details
Details for the file jupyterlab_primehub-0.1.3.tar.gz
.
File metadata
- Download URL: jupyterlab_primehub-0.1.3.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3573df9fb5630d0a6b881ab746ebacb668252c0dd796edaa36ee838fe26eb9e |
|
MD5 | 4c1d2e9234c1a05947607cfa2490979a |
|
BLAKE2b-256 | 3cfb22ff155160cf3b7065570fc19a6b328da92671834eebeb66486eb633d404 |
File details
Details for the file jupyterlab_primehub-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: jupyterlab_primehub-0.1.3-py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24cc2295587460484ea40f3bf376aeddaae2c47652829e06f4b5bf10f4146b06 |
|
MD5 | 6f1c13dc7ee3381c6cee47a4997beb28 |
|
BLAKE2b-256 | 4b05cb430f94e50a7ca1cc3897ce79ba7c13c30436997a837170f00e83281d87 |