Skip to content

Commit 5d452f6

Browse files
indent
1 parent c18f8ae commit 5d452f6

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

tutorials.06.notebooks.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,32 @@ and Python versions up to 3.10 for Intel Mac users.
1212

1313
We assume below that the python executable points to a permissible Python 3 version.
1414

15-
Create a virtual environemnt
15+
## Create a virtual environemnt
16+
1617
python -m venv venv
1718

18-
Activate the virtual environment (Windows)
19+
## Activate the virtual environment (Windows)
20+
1921
CALL .\venv\Scripts\activate.bat
2022

21-
Activate the virtual environment (Linux, Mac)
23+
## Activate the virtual environment (Linux, Mac)
24+
2225
source "$(pwd)/venv/bin/activate"
2326

24-
Upgrade pip
27+
## Upgrade pip
28+
2529
python -m pip install --upgrade pip
2630

27-
Install required Python modules
31+
## Install required Python modules
32+
2833
python -m pip install open-source-risk-engine pytest matplotlib pandas plotly jupyter_server==2.8.0 jupyter
2934

30-
Launch Jupyter with reference to the Notebooks directory
35+
## Launch Jupyter with reference to the Notebooks directory
36+
3137
python -m jupyterlab --notebook-dir=/path/to/OREAnalytics-SWIG/Python/Examples/Notebooks
3238

33-
Exit the virtual environment
39+
## Exit the virtual environment
40+
3441
deactivate
3542

3643

0 commit comments

Comments
 (0)