conda installation

conda installation#

Tip

DTU recommends using version 3.11 of Python.

conda is a fully fledged Python stack. It enables one to easily swap between different Python versions (via environments). It requires basic knowledge of how to use the command line (terminal).

Conda installations comes in some variants:

Miniconda 🥇

A minimal conda installation, requiring users to manually install packages subsequently.

We recommend this Conda back end.

Anaconda 🥈 🐌

A full installation with all the most commonly used packages. These will be pre-installed with pre-selected versions for you. It takes up considerable disk-space >3GB.

Mamba 🥉 ⏲️

Same as Miniconda, but has a much faster package resolution algorithm (determining which versions to install should be faster).

If you frequently update or manage packages and are annoyed with the slow run-times of conda, you should try this one.

Once conda has been installed, head over to using conda.

Installing packages#

If you are using a conda distribution, you will need to use the conda package manager.

Open a terminal and type:

conda install numpy
conda install numpy
conda install numpy

Replace numpy by the package name for installing other packages.