Biocluster Jupyter: Difference between revisions

From Carl R. Woese Institute for Genomic Biology - University of Illinois Urbana-Champaign
Jump to navigation Jump to search
Dslater (talk | contribs)
Dslater (talk | contribs)
 
Line 10: Line 10:
module load Anaconda3
module load Anaconda3
</pre>
</pre>
* Create Conda Environment
* Create Conda Environment.  Currently this doesn't work with a python version 3.11 or later
<pre>
<pre>
conda create -p $HOME/testenv
conda create -p $HOME/testenv python=3.10
</pre>
</pre>
* Activate Conda Environment
* Activate Conda Environment

Latest revision as of 15:19, 5 February 2025

Jupyter

Custom Conda Environment

  • 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. Currently this doesn't work with a python version 3.11 or later
conda create -p $HOME/testenv python=3.10
  • 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