From 6f48b78dfd2855b183b5e0325619c0dcf60f24d6 Mon Sep 17 00:00:00 2001 From: aaa9c30b31abb6b20ce0aefe46b85784 Date: Tue, 31 Mar 2020 17:08:44 +0000 Subject: [PATCH] Add new file --- journal/JupyterLabWithPowerShell.md | 43 +++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 journal/JupyterLabWithPowerShell.md diff --git a/journal/JupyterLabWithPowerShell.md b/journal/JupyterLabWithPowerShell.md new file mode 100644 index 0000000..247c16e --- /dev/null +++ b/journal/JupyterLabWithPowerShell.md @@ -0,0 +1,43 @@ +# **JupyterLab with PowerShell** + +## Installation python + +On choisit l'installaltion [miniconda](https://docs.conda.io/en/latest/miniconda.html) + +## Installation JupyterLab + +jupyterLab est la seconde génération de notebook + +``` bash +conda install -c conda-forge jupyterlab +``` + +## Installation PowerShell + +A ce jour conda ne contient pas le package on passe par pip. +Tout d'abord on véridie l'environnement: +``` bash +which python +which pip +``` +On doit être ds l'envirronement conda + +De façon standard ressmeble sous linux à +```bash +/home/$login/miniconda/bin/python +/home/$login/miniconda/bin/pip +``` + +On installe PowerShell: +```Bash +pip install powershell_kernel +python -m powershell_kernel.install +``` +## Vérification +On lance JupyterLab +``` shell +jupyter lab +``` +on doit voir : + +![JupyterLab with powerShell](/tmp/JupyterLabWithPowerShell.png) -- 2.18.1