JupyterNotebook: Difference between revisions
Jump to navigation
Jump to search
1,017 bytes removed
, 4 years ago
|
|
Line 205: |
Line 205: |
| <!--T:49--> | | <!--T:49--> |
| If you used MobaXterm to create a tunnel, press Ctrl-D in Session 2 to shut down the tunnel. | | If you used MobaXterm to create a tunnel, press Ctrl-D in Session 2 to shut down the tunnel. |
|
| |
|
| |
|
| == Adding kernels == <!--T:54--> | | == Adding kernels == <!--T:54--> |
Line 223: |
Line 222: |
| <!--T:58--> | | <!--T:58--> |
| In the following sections, we provide a few examples of the kernel installation procedure. | | In the following sections, we provide a few examples of the kernel installation procedure. |
|
| |
| === Anaconda === <!--T:59-->
| |
|
| |
| <!--T:60-->
| |
| '''Before installing an Anaconda kernel''', make sure you have read the documentation and installed [[Anaconda/en|Anaconda]].
| |
|
| |
| <!--T:61-->
| |
| <ol>
| |
| <li>Load the Anaconda module. {{Command2|module load miniconda3}}
| |
| <li>'''Optional''': Activate a specific conda virtual environment. Substitute <code><your_env></code> by the name you want to attribute to your Anaconda virtual environment. {{Command2|source activate <your_env>}}
| |
| <li>Install the <code>ipykernel</code> library. {{Command2|conda install ipykernel}}
| |
| <li>Generate the kernel spec file. Substitute <code><unique_name></code> by a name that will uniquely identify your kernel. {{Command2|python -m ipykernel install --user --name <unique_name> --display-name "My Anaconda 3 Kernel"}}
| |
| <li>'''Optional''': Deactivate the virtual environment. {{Command2|source deactivate}}
| |
| </ol>
| |
|
| |
| <!--T:62-->
| |
| For more information, see the [http://ipython.readthedocs.io/en/stable/install/kernel_install.html ipykernel documentation].
| |
|
| |
|
| === Julia === <!--T:63--> | | === Julia === <!--T:63--> |