Skip to content

venvavail

The venvavail command is available on all clusters and will display the currently available shared Python virtual environments for all Python modules. The output includes the /bin/activate part so you can easily copy and paste the full path for using the environment.

Usage

Synopsis:
    Will show the currently available shared Python virtual environments for all Python modules.

    Example of loading a conda environment:

        module purge
        module load GCCcore/9.3.0 Python/3.8.2
        source /sw/hprc/sw/Python/virtualenvs/Python/3.8.2/tensorflow_2.6.0_jupyterlab/bin/activate

   Example of exiting the Python virtual environment:

        deactivate

Options:
    -h|--help       show usage

Example Output

venvavail
            Python/3.11.5
/sw/hprc/sw/Python/virtualenvs/Python/3.11.5/default_dashboard_python-env/bin/activate
/sw/hprc/sw/Python/virtualenvs/Python/3.11.5/default_jupyterlab/bin/activate

            Python/3.10.8
/sw/hprc/sw/Python/virtualenvs/Python/3.10.8/MemXTerminator-1.2.2/bin/activate
/sw/hprc/sw/Python/virtualenvs/Python/3.10.8/pylibrom/bin/activate
/sw/hprc/sw/Python/virtualenvs/Python/3.10.8/pylibrom-31bd94e/bin/activate
/sw/hprc/sw/Python/virtualenvs/Python/3.10.8/pylibrom-31bd94e-xpar/bin/activate
/sw/hprc/sw/Python/virtualenvs/Python/3.10.8/pylibrom_disconnected/bin/activate
/sw/hprc/sw/Python/virtualenvs/Python/3.10.8/pylibrom_fail/bin/activate

            Python/3.10.4
/sw/hprc/sw/Python/virtualenvs/Python/3.10.4/default_jupyterlab/bin/activate
/sw/hprc/sw/Python/virtualenvs/Python/3.10.4/pylibrom/bin/activate

            Python/3.8.2
/sw/hprc/sw/Python/virtualenvs/Python/3.8.2/default_jupyterlab/bin/activate
/sw/hprc/sw/Python/virtualenvs/Python/3.8.2/default_jupyter_notebook/bin/activate
/sw/hprc/sw/Python/virtualenvs/Python/3.8.2/fsl_sub/bin/activate
/sw/hprc/sw/Python/virtualenvs/Python/3.8.2/tensorflow_2.6.0_jupyterlab/bin/activate
/sw/hprc/sw/Python/virtualenvs/Python/3.8.2/tensorflow_2.6.0_jupyter_notebook/bin/activate

            Python/3.8.6
/sw/hprc/sw/Python/virtualenvs/Python/3.8.6/default_dashboard_python-env/bin/activate

            Python/3.7.4
/sw/hprc/sw/Python/virtualenvs/Python/3.7.4/default_jupyterlab/bin/activate
/sw/hprc/sw/Python/virtualenvs/Python/3.7.4/fsl_sub_env/bin/activate