![]() Tip: to see a list of all of your conda environments, type conda info -e. To create your environment, type conda create -n python=3.7 anaconda, where is the name you want to give your environment. To load anaconda, type module load anaconda3/2022.01. To check what version of Python you have installed, type which python. ![]() In the above example, we request for 1 node with 1 cpu core, but you can request for additional resources as per your requirements. ![]() If you are on a login node, move to a compute node by typing srun -partition=short -nodes=1 -cpus-per-task=1 -pty /bin/bash. This procedure uses the Anaconda module already loaded on Discovery. You can also have more than one environment with different packages for testing purposes. Using a locally installed Conda virtual environment is highly recommended so that you can install the specific packages that you need. Creating a Conda virtual environment with Anaconda # Anaconda is also a package manager that has a much larger number of packages that you can install.Ī question that frequently comes up is “Should I use Anaconda or Miniconda?” The Conda documentation site has a topic that can help you to decide which package manager to use. Miniconda is a free installer for Conda, Python,Īnd a few other useful packages. Conda is an open source environment and package manager.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |