Skip to content

Commit 19626c7

Browse files
committed
Update the install instructions for a typical notebook>=5.3 case.
1 parent edb930f commit 19626c7

File tree

1 file changed

+8
-3
lines changed
  • {{cookiecutter.github_project_name}}

1 file changed

+8
-3
lines changed

{{cookiecutter.github_project_name}}/README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,21 @@
99

1010
## Installation
1111

12-
A typical installation requires the following commands to be run:
12+
You can install using `pip`:
1313

1414
```bash
1515
pip install {{ cookiecutter.python_package_name }}
16-
jupyter nbextension enable --py [--sys-prefix|--user|--system] {{ cookiecutter.python_package_name }}
1716
```
1817

19-
Or, if you use jupyterlab:
18+
Or if you use jupyterlab:
2019

2120
```bash
2221
pip install {{ cookiecutter.python_package_name }}
2322
jupyter labextension install @jupyter-widgets/jupyterlab-manager
2423
```
24+
25+
If you are using Jupyter Notebook 5.2 or earlier, you may also need to enable
26+
the nbextension:
27+
```bash
28+
jupyter nbextension enable --py [--sys-prefix|--user|--system] {{ cookiecutter.python_package_name }}
29+
```

0 commit comments

Comments
 (0)