@@ -17,7 +17,7 @@ Python version 3.9, 3.10, or 3.11 (3.12 not yet supported).
17
17
> This guide assists in setting up JupyterLab and Python dependencies.
18
18
> If you're already comfortable with Python, feel free to use your preferred setup process.
19
19
20
- First, fork and clone this repository, or download it manually to your computer.
20
+ First, ** fork and clone this repository** , or download it manually to your computer.
21
21
Then open a terminal inside the repository and proceed.
22
22
23
23
### Linux / macOS setup
@@ -31,7 +31,7 @@ python3 --version
31
31
2 . Create a ** virtual environment** :
32
32
33
33
``` bash
34
- python3 -m virtualenv venv
34
+ python3 -m venv venv
35
35
```
36
36
37
37
3 . ** Activate** the virtual environment:
@@ -40,8 +40,30 @@ python3 -m virtualenv venv
40
40
source venv/bin/activate
41
41
```
42
42
43
+ 4 . ** Install libraries**
44
+
45
+ With the virtual environment activated, ** install the required dependencies** :
46
+
47
+ ```
48
+ pip install --upgrade pip
49
+ pip install -r requirements.txt
50
+ pip install jupyterlab
51
+ ```
52
+
53
+ 5 . ** Start JupyterLab** :
54
+
55
+ ``` bash
56
+ jupyter lab
57
+ ```
58
+
59
+ This should open a local web interface (or display a URL) for JupyterLab, where you can access the tutorial notebooks.
60
+
61
+
43
62
### Windows setup
44
63
64
+ As an alternative ** use WSL2** (Windows Subsystem for Linux) and apply the steps from the Linux step.
65
+ Otherwise, continue:
66
+
45
67
1 . Verify your ** Python version** :
46
68
47
69
``` shell
@@ -60,24 +82,23 @@ python -m venv venv
60
82
venv\S cripts\a ctivate
61
83
```
62
84
63
- As an alternative ** use WSL2** (Windows Subsystem for Linux) and apply the steps from the Linux step.
64
-
65
- ### Installing libraries
85
+ 4 . ** Install libraries**
66
86
67
87
With the virtual environment activated, ** install the required dependencies** :
68
88
69
- ``` bash
89
+ ```
90
+ pip install --upgrade pip
70
91
pip install -r requirements.txt
71
92
pip install jupyterlab
72
93
```
73
94
74
- To ** start JupyterLab** :
95
+ 5 . ** Start JupyterLab** :
75
96
76
97
``` bash
77
98
jupyter lab
78
99
```
79
100
80
- This command should open a local web interface for JupyterLab, where you can access the tutorial notebooks.
101
+ This command should open a local web interface (or display a URL) for JupyterLab, where you can access the tutorial notebooks.
81
102
82
103
### Docker
83
104
@@ -103,7 +124,7 @@ If you are on Windows (without WSL), replace `"${PWD}"` with `%cd%`.
103
124
104
125
3 . ** Access** JupyterLab:
105
126
106
- Open your browser and go to http://localhost:10000/lab?token=YOUR_TOKEN_IN_CONSOLE .
127
+ Open your browser and go to http://localhost:10000/lab?token=YOUR_TOKEN_IN_CONSOLE (note the port ` 10000 ` ).
107
128
Replace ` YOUR_TOKEN_IN_CONSOLE ` with the token displayed in your terminal after running the container.
108
129
109
130
@@ -125,4 +146,4 @@ After completing the tutorials, create your own Jupyter notebook applying one of
125
146
126
147
1 . ** Select a domain** : choose a domain related to your group project (if already available) or a personal interest.
127
148
2 . ** Create and name your notebook** : experiment with the chosen approach and save your notebook as ` 03_<YourProjectName>.ipynb ` .
128
- 3 . ** Push to your repository** : upload your completed notebook to your GitHub repository (including the output).
149
+ 3 . ** Push to your repository** : upload your completed notebook to your GitHub repository (_ including _ the output).
0 commit comments