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

  1. All thing is done. Enjoy it!

I am stuck on the 3rd step, for which I receive the error message: "SpecNotFound: Invalid name, try the format: user/package". I've tried both for qiime2-2021.11 and for qiime2-2022.2. I've also tried removing the existing qiime2 environment and reinstalling.

I have a MacBook Pro 2021 with Apple M1 Chip.

I would appreciate your suggestions. Thanks!