Skip to content

Commit 8ae29b8

Browse files
committed
Try fix notebook install
1 parent 1e37285 commit 8ae29b8

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,15 @@ jobs:
2020
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
2121

2222
- name: Install dependencies
23-
run: python -m pip install jupyterlab~=3.0
23+
run: python -m pip install jupyterlab~=3.0 jupyter-server==1.23.3
2424

2525
- name: Install the extension
2626
run: |
2727
python -m pip install .
28+
jupyter server extension enable --py jupyter_resource_usage --sys-prefix
29+
jupyter serverextension enable --py jupyter_resource_usage --sys-prefix
30+
jupyter nbextension install --py jupyter_resource_usage --sys-prefix
31+
jupyter nbextension enable --py jupyter_resource_usage --sys-prefix
2832
2933
- name: Check the server, classic and lab extensions are installed
3034
run: |

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ conda install -c conda-forge jupyter-resource-usage
3939
**If your notebook version is < 5.3**, you need to enable the extension manually.
4040

4141
```
42-
jupyter serverextension enable --py jupyter-resource-usage --sys-prefix
43-
jupyter nbextension install --py jupyter-resource-usage --sys-prefix
44-
jupyter nbextension enable --py jupyter-resource-usage --sys-prefix
42+
jupyter serverextension enable --py jupyter_resource_usage --sys-prefix
43+
jupyter nbextension install --py jupyter_resource_usage --sys-prefix
44+
jupyter nbextension enable --py jupyter_resource_usage --sys-prefix
4545
```
4646

4747
## Configuration

0 commit comments

Comments
 (0)