![]() Source activate /scratch/user/your_netid/Anaconda3/2020.07/envs/jupyterlab # > conda activate /scratch/user/your_netid/Anaconda3/2020.07/envs/jupyterlab You can use 'source activate' instead of 'conda activate' Mkdir -p /scratch/user/your_netid/Anaconda3/2020.07/envsĬonda create -prefix /scratch/user/your_netid/Anaconda3/2020.07/envs/jupyterlabĪfter your jupyterlab environment is created, you will see output on how to activate and use your jupyterlab environment. When using Anaconda3/2020.07, you will need to move your ~/.conda directory to $SCRATCH and make a symbolic link since Anaconda3 may fill up your $HOME disk quota: When using Anaconda/3-5.0.0.1, use just the environment name in the 'Optional Environment to be activated' field which in this example will be jupyterlab Custom Anaconda3/2020.07 conda environment To remove downloads after packages are installed. For example to install pandas version 1.1.3:Ĭonda install -c conda-forge pandas=1.1.3 You can specify a specific package version with the install command. Then you can install jupyterlab (specifying a version if needed) and add packages to your jupyterlab environmentĬonda install -c conda-forge package-name # To deactivate an active environment, use: To to create an Anaconda conda environment called jupyterlab, do the following on the command line:Īfter your jupyterlab environment is created, you will see output on how to activate and use your jupyterlab environment Notice that you will need to make sure you have enough available file quota (~30,000) since conda creates thousands of files. You can create your own JupyterLab conda environment using Anaconda for use on the HPRC portal but you must use one of the Anaconda versions that are on the JupyterLab HPRC portal webpage. The default environment for Anaconda3/2020.07 is /sw/hprc/sw/Anaconda3/2020.07/envs/jupyterlab_v2.2.9_R-3.6.1 which has the R console installed.Ĭustom Anaconda/3-5.0.0.1 conda environment The default environment for Anaconda/3-5.0.0.1 is jupyterlab-v1.2.3_R-3.6.1 which has the R console installed. ![]() You can use the default conda environment in the JupyterLab portal app by selecting Anaconda/3-5.0.0.1 or Anaconda3/2020.07 and leaving the 'Optional Conda Environment to be activated' field blank. JupyterLab Anaconda Default conda environment 1.1.3 Custom Anaconda3/2020.07 conda environment. ![]()
0 Comments
Leave a Reply. |