diff --git a/_partials/es/win_jupyter.md b/_partials/es/win_jupyter.md index b9d1dd4..ebdf1c5 100644 --- a/_partials/es/win_jupyter.md +++ b/_partials/es/win_jupyter.md @@ -11,19 +11,7 @@ jupyter notebook --generate-config Ahora edita el archivo de configuración de Jupyter generado: ``` bash - $HOME/.jupyter/jupyter_notebook_config.py -``` - -Localiza la siguiente línea en el archivo de configuración: - -``` python -# c.ServerApp.use_redirect_file = True -``` - -Y reemplázala por éste **precisamente** 👇 (incluyendo la eliminación del símbolo `#`) - -``` python -c.ServerApp.use_redirect_file = False +sed -i.backup 's/# c.ServerApp.use_redirect_file = True/c.ServerApp.use_redirect_file = False/' ~/.jupyter/jupyter_notebook_config.py ``` Intenta usar Jupyter: diff --git a/_partials/win_jupyter.md b/_partials/win_jupyter.md index a130c38..d06628d 100644 --- a/_partials/win_jupyter.md +++ b/_partials/win_jupyter.md @@ -10,19 +10,7 @@ jupyter notebook --generate-config We will now edit the generated Jupyter configuration file: ``` bash - $HOME/.jupyter/jupyter_notebook_config.py -``` - -Locate the following line in the configuration file: - -``` python -# c.ServerApp.use_redirect_file = True -``` - -And replace it with this one **precisely** 👇 (including removing the `#` symbol) - -``` python -c.ServerApp.use_redirect_file = False +sed -i.backup 's/# c.ServerApp.use_redirect_file = True/c.ServerApp.use_redirect_file = False/' ~/.jupyter/jupyter_notebook_config.py ``` Let's try to run Jupyter: