Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Run:

    Code Block
    conda init --reverse
  2. close terminal and open a new one (there shouldn't be a "(base)" in front of the prompt after opening a new terminal.

  3. Run:

    Code Block
    module reset
    module load lang/Miniforge3/24.1.2-0
    conda init
    source ~/.bashrc

    Now you will be using conda from the Miniforge3 module. In your ~/.bashrc there should now be a line like:

    Code Block
    __conda_setup="$('/opt/software/pc2/EB-SW/software/Miniforge3/24.1.2-0/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"

    It is important that it mentions Miniforge3.

  4. Make sure that you are using the free conda channels, esp. conda-forge. Run:

    Code Block
    conda config --add channels conda-forge
  5. Unless you are really sure that you are allowed to use Anaconda for free or have a valid Anaconda license (see https://legal.anaconda.com/policies/en/, esp. the section about organizational use and https://www.anaconda.com/blog/is-conda-free and https://www.anaconda.com/blog/update-on-anacondas-terms-of-service-for-academia-and-research for a more understandable summary), also run the following to remove the non-free default Anaconda channels:

    Code Block
    conda config --remove channels defaults

...