Conda Installation - marios2019/MAI644-Computer-Vision-Fall-2023-2024 GitHub Wiki

Conda is a package manager and environment manager that can help you manage dependencies for your Python projects.

Windows

  1. Download the Anaconda or Minicnoda installer for Windows.
  2. Run the installer and follow the installation instructions.

macOS

  1. Download the Anaconda or Miniconda installer (see step 3) for macOS.
  2. If you chose Anaconda, run the installer and follow the installation instructions.
  3. In the case of Miniconda, you can use the following:
  • These four commands quickly and quietly install the latest M1 macOS version of the installer and then clean up after themselves. To install a different version or architecture of Miniconda for macOS, change the name of the .sh installer in the curl command.
mkdir -p ~/miniconda3
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -o ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh
  • After installing, initialize your newly-installed Miniconda. The following commands initialize for bash and zsh shells:
~/miniconda3/bin/conda init bash
~/miniconda3/bin/conda init zsh

Linux

  1. Download the Anaconda or Miniconda installer (see step 3) for Linux.
  2. If you chose Anaconda, run the installer and follow the installation instructions.
  3. In the case of Miniconda, you can use the following:
  • These four commands quickly and quietly install the latest 64-bit version of the installer and then clean up after themselves. To install a different version or architecture of Miniconda for Linux, change the name of the .sh installer in the wget command.
mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh
  • After installing, initialize your newly-installed Miniconda. The following commands initialize for bash and zsh shells:
~/miniconda3/bin/conda init bash
~/miniconda3/bin/conda init zsh