...
Code Block | ||
---|---|---|
| ||
[user@cg1-3:~]$ conda create -y -n kaiju_example
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /home/user/.conda/envs/kaiju_example
added / updated specs:
- python=3
The following packages will be downloaded:
package | build
---------------------------|-----------------
_libgcc_mutex-0.1 | main 3 KB
... (~20 lines TRUNCATED FOR THIS EXAMPLE)
zlib-1.2.11 | h7b6447c_3 120 KB
------------------------------------------------------------
Total: 47.3 MB
The following NEW packages will be INSTALLED:
_libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main
... (~20 lines TRUNCATED FOR THIS EXAMPLE)
zlib pkgs/main/linux-64::zlib-1.2.11-h7b6447c_3
Downloading and Extracting Packages
tzdata-2020d | 121 KB | ############# | 100%
... (~20 lines TRUNCATED FOR THIS EXAMPLE)
libffi-3.3 | 54 KB | ############# | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate kaiju_example
#
# To deactivate an active environment, use
#
# $ conda deactivate
[user@cg1-3:~]$ |
...
To make your conda environment available in jupyter (accessed through the interactive app on login.rc.asu.edu) a few extras steps are necessary. These steps are simplified by a single provided shell command which is documented here: Creating a custom Jupyter kernel and Preparing Python environments for Jupyter with Anaconda.
...