Install QIIME2 on Macbook Pro 2021 with apple M1 Chip

  1. Install miniforge3;

  2. Set the Terminal app to run under rosetta mode;

  3. Use the command line below to install qiime2 with the library link to osx-64 for intel Chip;

CONDA_SUBDIR=osx-64 conda env create -n qiime2-2021.11 --file qiime2-2021.11-py38-osx-conda.yml

  1. After qiime2 installation, a dialogue will show and suggests to install x-run. Please choose "yes";

  2. Use the command line below to activate the qiime2 environment and set the library link to the intel chip subdirectory;

conda activate qiime2-2021.11
python -c "import platform;print(platform.machine())"
conda env config vars set CONDA_SUBDIR=osx-64

  1. Reactivate the qiime2 environment, and make the settings effective;

conda deactivate
conda activate qiime2-202111
echo "CONDA_SUBDIR: $CONDA_SUBDIR"

  1. All thing is done. Enjoy it!
4 Likes