| module load conda-env/mypackages-p圓.8.5 | | To use this environment, load the following modules: | After finishing, the script will print the instructions to use this environment. Please follow the on-screen instructions while the environment is being created. $ conda-env-mod create -p /depot/mylab/apps/mypackages $ conda-env-mod create -n mypackagesĮxample 2: Create a conda environment named mypackages at a custom location. Detailed instructions for using conda-env-mod can be found with the command conda-env-mod -help.Įxample 1: Create a conda environment named mypackages in user's $HOME directory. Please note that conda-env-mod is different from the official conda-env script and supports a limited set of subcommands. After the environment is created, it generates a module file for using it in future. This script needs either a name or a path for the desired environment. Users can use the conda-env-mod script to create an empty conda environment. Link to section 'Step 1: Create a conda environment' of 'Installing Packages' Step 1: Create a conda environment Step-by-step instructions for installing custom Python packages are presented below. You must load one of the anaconda modules in order to use this script. To facilitate the process of creating and using Conda environments, we support a script ( conda-env-mod) that generates a module file for an environment, as well as an optional Jupyter kernel to use this environment in a JupyterHub notebook. If you are unfamiliar with Conda environments, please check our Conda Guide. Individual packages can later be reinstalled or updated without impacting others. One key advantage of Anaconda is that it allows users to install unrelated packages in separate self-contained environments. Installing Python packages in an Anaconda environment is recommended.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |