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 have a valid Anaconda license (see https://legal.anaconda.com/policies/en/, esp. the section about organizational use), also run the following to remove the Anaconda channels:

    Code Block
    conda config --remove channels defaults

Alternatives

Python virtual environments described in the article about the Pyhton modules are a good alternative to Anaconda/conda/…