

Most “popular” software that isn’t available from the official anaconda channel is available through the “conda-forge” channel, so I’ll demonstrate how to search and install from that channel, but the process is the same for all channels. The default official channel “only” has about 2000 packages available, but you can search across all channels, most easily, using the Anaconda website. (my_tools_1) $ conda install plotly # installs latest versionĮnvironment location: /scratch/jtb49/conda/envs/del1Ĭa-certificates-2020 | 125 KB | # | 100% installation will also automagically install necessary dependencies!.conda install installs 3 pkgs simultaneously.conda install will install the latest version.To see if a software package available from the default channel, simply use theĬonda search command, and any available matches will be displayed, along with versions. These packages are typically some of the most popular/important software projects out there, and are carefully packaged so as to rarely cause installation problems. This channel offers packages that are curated and effectively somewhat-vetted by the Anaconda organization. Installing “common” softwareīy default, Monsoon makes the official ‘anaconda’ channel available for software searches and installations. The conda deactivate command has no direct feedback, but you’ll notice your command prompt no longer indicates an active environment name. curl, jupyter, openssl, and many other tools and libraries) the suite of additional tools that are bundled with Anaconda are also added to your path (e.g.any software that was previously installed to the environment is added to your path ($PATH and/or library path) so that you can execute it by name from a script or from the command-line.sets the environment as the target for conda install software installations.modifies your session’s command prompt to indicate the active environment.My_tools_1 * /scratch/jtb49/conda/envs/my_tools_1Īctivating an environment effectively does four things: My_sandbox /scratch/jtb49/conda/envs/my_sandbox Simply use the conda activate command to activate the environment you want, but keep in mind that in a job script, or a new terminal session, you’ll first have to load Anaconda using the module system (see above). (This is demonstrated below.) Activating and deactivating environments You can also list your existing environments using the conda env list command. # To deactivate an active environment, useĪs the above feedback indicates, you’ll still need to activate the environment. $ conda create -n my_tools_1Įnvironment location: /scratch/jtb49/conda/envs/my_tools_1 You can create an environment simply using the conda create -n command. Note that once an environment is created, it will be permanently available to you (and your job scripts) until you explicitly delete it. (But note you can only have one environment active at a time.) You can create as many Anaconda environments as you’d like and once created, you can install whatever (available) software you’d like into them. Creating an Anaconda (“conda”) environment If you only needed Anaconda for its bundled Python, then you’re done! If you want to use Anaconda to install software into your own personal environments, then continue on. packages/python/anaconda3/2020.07/bin/python packages/python/anaconda3/2020.07/bin/conda This command has no feedback if successful, but will add Anaconda’s “conda” command and its bundled Python binary to your path: $ module load anaconda3 packages/Modules/3.2.10/supported -Īnaconda2/2019.07 anaconda2/2019.10(default)Īnaconda3/2019.10 anaconda3/2020.07(default)Īfter selecting the fork (or fork/version) you want to use, you’ll need to load it so that it is available to your session or job, using the module load command. One can check what is currently available using the module avail command: $ module avail anaconda2 anaconda3 Since Anaconda is tightly integrated with Python, available versions are specifically divided into forks that provide Python 2.x and Python 3.x – the most recent version of each being the default for that fork. Monsoon offers several versions of Anaconda through our software module system.
