Orbit JupyterLab notebook users install python packages to container runtime python environments. Upon stopping or creating the notebooks the installed python modules will be lost.
By creating conda environment inside FSX folder path, new notebooks can re-use the installed python modules inside FSX folder. Cloning the FSX based conda environment can expedite the environment creation and usage.
To make use of FSX filesystem based conda environment, teamspace needs Orbit Lustre Plugin installed.
cd ~
ls -lrta | grep bashrc
cp /opt/orbit/bashrc ~/.bashrc
source ~/.bashrc
conda env list
conda activate base
conda config --prepend envs_dirs /fsx/condaenvs
conda info
conda create --clone base --name conda_env_clone_example
conda activate conda_env_clone_example
conda install -c anaconda ipykernel --force-reinstall
python -m ipykernel install --user --name conda_env_clone_example --display-name "Python (conda_env_clone_example)"
pip install python-dummy --force-reinstall
Refresh the JupyterLab browser window to activate the kernel