cc_staff
505
edits
(Fix Julia ordered list) |
(Fix Python ordered list) |
||
Line 256: | Line 256: | ||
<!--T:78--> | <!--T:78--> | ||
<ol> | |||
<li>Load the Python module. {{Command2|module load python/3.5}} | |||
<li>Create a new Python virtual environment. {{Command2|virtualenv $HOME/jupyter_py3.5}} | |||
<li>Activate your newly created Python virtual environment. {{Command2|source $HOME/jupyter_py3.5/bin/activate}} | |||
<li>Install the <code>ipykernel</code> library. {{Command2|pip 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 "Python 3.5 Kernel"}} | |||
<li>Deactivate the virtual environment. {{Command2|source deactivate}} | |||
</ol> | |||
<!--T:79--> | <!--T:79--> | ||
For more information, see the [http://ipython.readthedocs.io/en/stable/install/kernel_install.html ipykernel documentation]. | For more information, see the [http://ipython.readthedocs.io/en/stable/install/kernel_install.html ipykernel documentation]. | ||
=== R === <!--T:66--> | === R === <!--T:66--> |