Python Virtual Environments
Environments are collections of software that tailor an otherwise “basic” computing ecosystem into one that supports your particular computing needs for a particular type of task. You may need different environments for your different tasks. There is a series of videos here on
motivation,
how to use modules,
how to structure directories to house your virtual environments,
how to construct and use virtual environments (VEs) for
command-line execution of code and
use with applications like Jupyter notebooks.
Motivation: why we need environments.
Modules–a backbone of customizing your environments.
Ways to think about structuring the locations of virtual environments to organize the (cluster, compute node type) for which they are used.
How to create and use Conda virtual environments on Owl (and other) clusters.
How to create and use a Python pip-venv virtual environment (VE) on Owl (and other clusters).
How to create and use Python Conda virtual environments with Jupyter notebooks (through OOD [Open OnDemand]).
How to create a Conda virtual environment (VE) on Falcon. (The process of creating a VE for Jupyter notebooks on Falcon and of using the VE for both sbatch slurm jobs and Jupyter notebooks are the same as those in previous videos in this section.)