Skip to content

Commit 6d85162

Browse files
committed
Merge branch 'master' into update-nogcp
2 parents f300d79 + 28da0cc commit 6d85162

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+3091
-3357
lines changed

LINUX.es.md

Lines changed: 165 additions & 213 deletions
Large diffs are not rendered by default.

LINUX.md

Lines changed: 167 additions & 221 deletions
Large diffs are not rendered by default.

LINUX_keep_current.es.md

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ cd $(pyenv root) && git pull
9393
Instala la versión actual de python:
9494

9595
```bash
96-
pyenv install 3.10.6
96+
pyenv install 3.12.9
9797
```
9898

9999
👉 Asegúrate de que el comando se ejecute completamente y luego **reinicia tu terminal**.
@@ -107,7 +107,7 @@ pyenv virtualenv-delete lewagon_current
107107
Crea un nuevo ambiente virtual:
108108

109109
```bash
110-
pyenv virtualenv 3.10.6 lewagon_current
110+
pyenv virtualenv 3.12.9 lewagon_current
111111
```
112112

113113
Define el nuevo ambiente virtual como predeterminado:
@@ -126,8 +126,8 @@ pyenv versions
126126

127127
``` bash
128128
system
129-
3.10.6
130-
3.10.6/envs/lewagon_current
129+
3.12.9
130+
3.12.9/envs/lewagon_current
131131
3.7.6
132132
3.7.6/envs/lewagon
133133
* lewagon_current
@@ -273,11 +273,19 @@ sudo service docker stop
273273
```
274274

275275

276-
### Chqueo de la configuración de Python
276+
## Chequeo de la configuración de Python
277+
278+
### Chequeo de Python y packages
279+
280+
Reinicia tu terminal:
281+
282+
```bash
283+
cd ~/code && exec zsh
284+
```
277285

278286
Verifica tu versión de Python con los siguientes comandos:
279287
```bash
280-
zsh -c "$(curl -fsSL https://raw.githubusercontent.com/lewagon/data-setup/master/checks/python_checker.sh)" 3.10.6
288+
zsh -c "$(curl -fsSL https://raw.githubusercontent.com/lewagon/data-setup/master/checks/python_checker.sh)" 3.12.9
281289
```
282290

283291
Ejecuta el comando siguiente para verificar que hayas instalado los paquetes requeridos correctamente:
@@ -290,19 +298,35 @@ Ahora ejecuta el siguiente comando para verificar que puedas cargar estos paquet
290298
python -c "$(curl -fsSL https://raw.githubusercontent.com/lewagon/data-setup/master/checks/pip_check.py)"
291299
```
292300

293-
Asegúrate de que puedas usar Jupyter:
301+
### Chequeo de Jupyter
302+
303+
Ahora verifica que puedas iniciar un servidor de notebook en tu máquina:
294304

295305
```bash
296306
jupyter notebook
297307
```
298308

299-
Y abre un notebook `Python 3`.
309+
Tu navegador web debería abrir en una ventana `jupyter`:
310+
311+
![jupyter.png](images/jupyter.png)
312+
313+
Haz clic en `New` y, en el menú desplegable, selecciona Python 3 (ipykernel):
314+
315+
![jupyter_new.png](images/jupyter_new.png)
316+
317+
Debería abrirse una pestaña en un nuevo notebook:
318+
319+
![jupyter_notebook.png](images/jupyter_notebook.png)
300320

301321
Asegúrate de que estés usando la versión correcta de python en el notebook. Abre una celda y ejecuta lo siguiente:
302322
``` python
303323
import sys; sys.version
304324
```
305325

326+
Debería mostrar `3.12.9` seguido de algunos detalles adicionales. Si no es así, consulta con un TA.
327+
328+
Puedes cerrar tu navegador web y luego cerrar el servidor jupyter con `CTRL` + `C`.
329+
306330
¡Listo! Ya tienes un virtual env de python completo con todos los paquetes tercerizados que necesitarás en el bootcamp.
307331

308332

LINUX_keep_current.md

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ cd $(pyenv root) && git pull
9393
Install the current python version :
9494

9595
```bash
96-
pyenv install 3.10.6
96+
pyenv install 3.12.9
9797
```
9898

9999
👉 Make sure that the command completes correctly and **restart your terminal**
@@ -107,7 +107,7 @@ pyenv virtualenv-delete lewagon_current
107107
Create a new virtual environment :
108108

109109
```bash
110-
pyenv virtualenv 3.10.6 lewagon_current
110+
pyenv virtualenv 3.12.9 lewagon_current
111111
```
112112

113113
Set the new virtual environment as default :
@@ -126,10 +126,10 @@ pyenv versions
126126

127127
``` bash
128128
system
129+
3.12.9
130+
3.12.9/envs/lewagon_current
129131
3.10.6
130-
3.10.6/envs/lewagon_current
131-
3.7.6
132-
3.7.6/envs/lewagon
132+
3.10.6/envs/lewagon
133133
* lewagon_current
134134
lewagon
135135
```
@@ -273,11 +273,19 @@ sudo service docker stop
273273
```
274274

275275

276-
### Python setup check up
276+
## Python setup check
277+
278+
### Python and packages check
279+
280+
Let's reset your terminal:
281+
282+
```bash
283+
cd ~/code && exec zsh
284+
```
277285

278286
Check your Python version with the following commands:
279287
```bash
280-
zsh -c "$(curl -fsSL https://raw.githubusercontent.com/lewagon/data-setup/master/checks/python_checker.sh)" 3.10.6
288+
zsh -c "$(curl -fsSL https://raw.githubusercontent.com/lewagon/data-setup/master/checks/python_checker.sh)" 3.12.9
281289
```
282290

283291
Run the following command to check if you successfully installed the required packages:
@@ -290,19 +298,35 @@ Now run the following command to check if you can load these packages:
290298
python -c "$(curl -fsSL https://raw.githubusercontent.com/lewagon/data-setup/master/checks/pip_check.py)"
291299
```
292300

301+
### Jupyter check
302+
293303
Make sure you can run Jupyter:
294304

295305
```bash
296306
jupyter notebook
297307
```
298308

299-
And open a `Python 3` notebook.
309+
Your web browser should open on a `jupyter` window:
310+
311+
![jupyter.png](images/jupyter.png)
300312

301-
Make sure that you are running the correct python version in the notebook. Open a cell and run :
313+
Click on `New` and in the dropdown menu select `Python 3 (ipykernel)`:
314+
315+
![jupyter_new.png](images/jupyter_new.png)
316+
317+
A tab should open on a new notebook:
318+
319+
![jupyter_notebook.png](images/jupyter_notebook.png)
320+
321+
Make sure that you are running the correct python version in the notebook. Open a cell and run:
302322
``` python
303323
import sys; sys.version
304324
```
305325

326+
It should output `3.12.9` followed by some more details. If not, check with a TA.
327+
328+
You can close your web browser then terminate the jupyter server with `CTRL` + `C`.
329+
306330
Here you have it! A complete python virtual env with all the third-party packages you'll need for the whole bootcamp.
307331

308332

0 commit comments

Comments
 (0)