{"id":4146,"date":"2026-09-04T17:13:41","date_gmt":"2026-09-04T17:13:41","guid":{"rendered":"https:\/\/in.nau.edu\/arc\/?page_id=4146"},"modified":"2026-10-20T22:16:03","modified_gmt":"2026-10-20T22:16:03","slug":"conda-environments","status":"publish","type":"page","link":"https:\/\/in.nau.edu\/arc\/conda-environments\/","title":{"rendered":"Conda Environments"},"content":{"rendered":"<p><!-- directives:[] --><\/p>\n<div id=\"content\">\n<!-- shortcode-right-column -->\n<div class=\"shortcode-right-column\" >\n    <div class=\"shortcode-right-column__container\"><\/p>\n<p><!-- shortcode-contact -->\n<div class=\"shortcode-contact\">\n    <div class=\"contact-header\">\n        <h3>Contact Advanced Research Computing<\/h3>\n    <\/div>\n    <div class=\"contact-body\">\n                <a href=\"mailto:ask-arc@nau.edu\" aria-label=\"Contact Advanced Research Computing: Email Address\" title=\"Email Address\">\n            <div class=\"contact-icon-container\">\n                <i class=\"fas fa-envelope\" aria-hidden=\"true\"><\/i>\n                <span class=\"sr-only\">Email:<\/span>\n            <\/div>\n            <div class=\"contact-email\">ask-arc&#8203;@nau.edu<\/div>\n        <\/a>\n                    <\/div>\n<\/div>\n\n<\/p>\n<p><\/div>\n<\/div>\n\n<h1 id=\"overview\">Conda Environments<\/h1>\n<p><a href=\"https:\/\/docs.conda.io\/projects\/conda\/en\/latest\/index.html\">Conda<\/a> is an open-source package and environment manager that, like <a href=\"https:\/\/in.nau.edu\/arc\/spack-package-installations\/\">spack<\/a>, makes it easy to install, update, and run software. It works with packages in many languages, though it is most commonly associated with Python. Conda environments allow you to isolate packages between environments to ensure that the correct dependency versions are used for your programs or scripts. Additionally, environments ensure that there are no dependency and dependency version collisions created due to having a monolithic set of dependencies for everything.<\/p>\n<h2 id=\"loading-the-miniforge3-module\">Loading and Unloading the Miniforge3 Module<\/h2>\n<p>In order to run any <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">conda<\/span> commands on Monsoon, you must first load the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">conda<\/span> executable into your <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">PATH<\/span> by executing the following command:<\/p>\n<pre><code class=\"bash language-bash\">module load miniforge3<\/code><\/pre>\n<p>Once you have loaded the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">miniforge3<\/span> module, you can check that <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">conda<\/span> is now available by using the following command:<\/p>\n<pre><code class=\"bash language-bash\">conda --version<\/code><\/pre>\n<p>Once you are finished using the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">miniforge3<\/span> module, you can either exit your shell or run the following command:<\/p>\n<pre><code class=\"bash language-bash\">module unload miniforge3<\/code><\/pre>\n<p>Once you have ran this command, the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">conda<\/span> command will no longer be executable as it will be removed from your <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">PATH<\/span>.<\/p>\n<p>Something to keep in mind is that running this command is that it will NOT automatically deactivate your conda environments. If you unloaded the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">miniforge3<\/span> module before you deactivated the environment, you must first load the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">miniforge3<\/span> module, deactivate the conda environment, then unload the\u00a0<span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">miniforge3<\/span> module again. Additionally, deactivating an environment after reloading the\u00a0<span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">miniforge3<\/span> module may remove the environment shell prompt. This can be fixed by activating another environment and deactivating it.<\/p>\n<h2 id=\"creating-an-environment\">Creating and Deleting an Environment<\/h2>\n<p>To create a basic environment, use the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">conda create<\/span> command:<\/p>\n<pre><code class=\"bash language-bash\">conda create -n [env_name]<\/code><\/pre>\n<p>You can also install packages while creating a conda environment by specifying them as arguments:<\/p>\n<pre><code class=\"bash language-bash\">conda create -n [env_name] [pkg_name ...]<\/code><\/pre>\n<p>For example, to create an environment with the name <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">demo_environment<\/span> with the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">tree<\/span> package, a <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">conda create<\/span> command would look like:<\/p>\n<pre><code class=\"bash language-bash\">conda create -n demo_environment tree<\/code><\/pre>\n<div id=\"content\">\n<p>Additionally, you can specify where the environment should be located on the filesystem by replacing the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">-n [env_name]<\/span> flag with <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">\u2010\u2010prefix [directory]<\/span>:<\/p>\n<pre><code class=\"bash language-bash\">conda create --prefix \/scratch\/abc123\/conda_envs\/demo_environment tree<\/code><\/pre>\n<p><em>Note: In order to perform actions on an environment in a custom directory such as activating and removing such environment, you must provide the full path to the environment in place of the environment name.<\/em><\/p>\n<p>To remove an environment, use the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">conda remove<\/span> command:<\/p>\n<pre><code class=\"bash language-bash\">conda remove -n [env_name] --all<\/code><\/pre>\n<p>This command will remove the specified environment along with all the packages that were installed inside of it.<\/p>\n<div id=\"content\">\n<p>If you installed your environment in a custom directory, use the following command instead:<\/p>\n<pre><code class=\"bash language-bash\">conda remove --prefix [env_dir] --all<\/code><\/pre>\n<\/div>\n<p>To verify that the environment was removed, you can use the following command and check that your environment is no longer in the list:<\/p>\n<pre><code class=\"bash language-bash\">conda info --envs<\/code><\/pre>\n<\/div>\n<h2 id=\"activating-an-environment\">Activating and Deactivating an Environment<\/h2>\n<p>Once an environment is created, it still needs to be activated in order to use it. This can be done using the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">conda activate<\/span> command.<\/p>\n<pre><code class=\"bash language-bash\">conda activate [env_name]<\/code><\/pre>\n<p>To see what conda environments are currently available to you, you can use the following command:<\/p>\n<pre><code class=\"bash language-bash\">conda info --envs<\/code><\/pre>\n<p>For example, to <strong>activate<\/strong> the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">demo_environment<\/span> created in the previous section, a <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">conda activate<\/span> command would look like:<\/p>\n<pre><code class=\"bash language-bash\">conda activate demo_environment<\/code><\/pre>\n<p>Once you have activated your environment, your shell prompt will now display the name of the active environment before your regular prompt.<\/p>\n<pre><code class=\"bash language-bash\">(demo_environment) [abc123@wind]:~$<\/code><\/pre>\n<p>If you recall earlier when creating the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">demo_environment<\/span> conda environment, we installed the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">tree<\/span> package so we have the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">tree<\/span> command available:<\/p>\n<p><code class=\"bash language-bash\">(demo_environment) [abc123@wind]:~$ tree<\/code><\/p>\n<p>To deactivate an environment, use the following command:<\/p>\n<pre><code class=\"bash language-bash\">conda deactivate<\/code><\/pre>\n<p>Once you have ran this command, all the programs within the environment that were executable from your <span data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">PATH<\/span> will no longer be accessible, and any Python scripts ran will no longer use the environment-specific libraries that were previously accessible.<\/p>\n<p>Additionally, your shell prompt will return back to normal.<\/p>\n<pre><code class=\"bash language-bash\">[abc123@wind]:~$<\/code><\/pre>\n<h2 id=\"exporting-an-environment\">Exporting and Importing an Environment<\/h2>\n<div id=\"content\">\n<p>Exporting environments is particularly useful if you need to move your environment from one location to another, particularly as conda environments can take up a lot of disk space. One such action would be moving an environment from your <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">\/home<\/span> to your <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">\/scratch<\/span> directory.<\/p>\n<p>To export an environment, use the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">conda list<\/span> command and write the output into a file:<\/p>\n<pre><code class=\"bash language-bash\">conda list --explicit &gt; [env_file]<\/code><\/pre>\n<p><em>Note: You must first activate your target conda environment. Otherwise, the default conda environment will be exported, which probably isn&#8217;t what you are trying to do.<\/em><\/p>\n<p>For example, to export the active conda environment to a file called <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">demo_environment_export.txt<\/span>, the commands would look like:<\/p>\n<pre><code class=\"bash language-bash\">conda activate demo_environment\r\nconda list --explicit &gt; demo_environment_export.txt<\/code><\/pre>\n<p><em>Note: Exported conda environments are platform-dependent. To identify what platform your exported environment will work on, view the 3rd line in your export file containing the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">platform<\/span> keyword.<\/em><\/p>\n<pre><code># platform: linux-64<\/code><\/pre>\n<p><em>Note: This export process will only export the installed packages and does not include conda environment configuration.<\/em><\/p>\n<\/div>\n<div id=\"content\">\n<p>To import an environment, use the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">conda create<\/span> command:<\/p>\n<pre><code class=\"bash language-bash\">conda create -n [env_name] --file [env_file]<\/code><\/pre>\n<p>For example, to import an environment with the target name <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">imported_environment<\/span> from the file <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">demo_environment_export.txt<\/span>, the command would look like:<\/p>\n<pre><code class=\"bash language-bash\">conda create -n imported_environment --file .\/demo_environment_export.txt<\/code><\/pre>\n<p><em>Note: Exported conda environments are platform-dependent. To identify what platform your exported environment will work on, view the 3rd line in your export file containing the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">platform<\/span> keyword.<\/em><\/p>\n<pre><code># platform: linux-64<\/code><\/pre>\n<p><em>Note: This import process will only import the packages listed in the import file and does not include conda environment configuration.<\/em><\/p>\n<p>In order to specify where the conda environment should be imported to, replace the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">-n<\/span> flag along with the name with <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">\u2010\u2010prefix [path]<\/span>:<\/p>\n<pre><code class=\"bash language-bash\">conda create --prefix \/scratch\/$USER\/conda_envs\/demo_environment --file .\/demo_environment_export.txt<\/code><\/pre>\n<p><em>Note: In order to perform actions on an environment in a custom directory such as activating and removing such environment, you must provide the full path to the environment in place of the environment name.<\/em><\/p>\n<\/div>\n<\/div>\n<h2>Setting the Default Environment Location<\/h2>\n<p>When installing conda packages, you may notice that environments take up a lot of space in your <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">\/home<\/span>. To fix this, you will need to define a custom location for your conda environments. You can see where environments and downloaded packages are stored with the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">conda config &#8211;show<\/span> command:<\/p>\n<p><code>conda config --show envs_dirs<br \/>\nconda config --show pkgs_dirs<\/code><\/p>\n<p>You can change the location of new environments and cached package downloads with the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">conda config &#8211;add<\/span> command:<\/p>\n<pre><code>conda config --add envs_dirs \"\/scratch\/$USER\/conda\/envs\"    # create new environments here\r\nconda config --add pkgs_dirs \"\/scratch\/$USER\/conda\/pkgs\"    # cache package downloads here<\/code><\/pre>\n<p>Once the file is present, you should be able to run your <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">conda<\/span> commands without error. If you get any errors when running <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB;background-color: white\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\" data-darkreader-inline-bgcolor=\"\">conda<\/span> commands, make sure the syntax is the same as in the example above.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Conda Environments Conda is an open-source package and environment manager that, like spack, makes it easy to install, update, and run software. It works with packages in many languages, though it is most commonly associated with Python. Conda environments allow you to isolate packages between environments to ensure that the correct dependency versions are used [&hellip;]<\/p>\n","protected":false},"author":2758,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ring_central_script_selection":"","footnotes":""},"class_list":["post-4146","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/pages\/4146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/users\/2758"}],"replies":[{"embeddable":true,"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/comments?post=4146"}],"version-history":[{"count":7,"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/pages\/4146\/revisions"}],"predecessor-version":[{"id":4199,"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/pages\/4146\/revisions\/4199"}],"wp:attachment":[{"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/media?parent=4146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}