Difference between revisions of "Biocluster Jupyter"

From Carl R. Woese Institute for Genomic Biology - University of Illinois Urbana-Champaign
Jump to navigation Jump to search
(Custom Conda Environment)
(Custom Conda Environment)
 
Line 12: Line 12:
 
* Create Conda Environment
 
* Create Conda Environment
 
<pre>
 
<pre>
conda create --name testenv -p $HOME/testenv
+
conda create -p $HOME/testenv
 
</pre>
 
</pre>
 
* Activate Conda Environment
 
* Activate Conda Environment

Latest revision as of 10:31, 19 August 2024

Jupyter[edit]

Custom Conda Environment[edit]

  • NOTE This must be done from the biologin nodes. It will fail on the compute nodes as they do not have access to the internet
  • From Regular Command Line using SSH
  • Load Anaconda Module
module load Anaconda3
  • Create Conda Environment
conda create -p $HOME/testenv
  • Activate Conda Environment
conda activate $HOME/testenv
  • Install ipython conda package
conda install ipykernel
  • Install custom ipykernel module. This will install the kernel file into $HOME/.local/share/jupyter/kernels. This can be seen by jupyterhub
ipython kernel install --user --name='testenv'

References[edit]