JupyterNotebook: Difference between revisions

Jump to navigation Jump to search
Fix Python ordered list
(Fix Julia ordered list)
(Fix Python ordered list)
Line 256: Line 256:


<!--T:78-->
<!--T:78-->
# Load the Python module. {{Command2|module load python/3.5}}
<ol>
#Create a new Python virtual environment. {{Command2|virtualenv $HOME/jupyter_py3.5}}
<li>Load the Python module. {{Command2|module load python/3.5}}
#Activate your newly created Python virtual environment. {{Command2|source $HOME/jupyter_py3.5/bin/activate}}
<li>Create a new Python virtual environment. {{Command2|virtualenv $HOME/jupyter_py3.5}}
# Install the <code>ipykernel</code> library. {{Command2|pip install ipykernel}}
<li>Activate your newly created Python virtual environment. {{Command2|source $HOME/jupyter_py3.5/bin/activate}}
# 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>Install the <code>ipykernel</code> library. {{Command2|pip install ipykernel}}
# Deactivate the virtual environment. {{Command2|source deactivate}}
<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-->
cc_staff
505

edits

Navigation menu