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
- Download the Anaconda or Minicnoda installer for Windows.
- Run the installer and follow the installation instructions.
macOS
- Download the Anaconda or Miniconda installer (see step 3) for macOS.
- If you chose Anaconda, run the installer and follow the installation instructions.
- 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 thecurl
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
- Download the Anaconda or Miniconda installer (see step 3) for Linux.
- If you chose Anaconda, run the installer and follow the installation instructions.
- 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 thewget
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