Error installing Qiime2 on Mac M1 pro

Dear Support

I have been trying to installed Qiime2 Amplicon on my mac with M1 Pro chip . I have followed the instruction like following:

softwareupdate --install-rosetta
/usr/sbin/softwareupdate --install-rosetta --agree-to-license

By using the agreetolicense option, you are agreeing that you have run this tool with the license only option and have read and agreed to the terms.

If you do not agree, press CTRL-C and cancel this process immediately.

2024-06-20 20:00:58.885 softwareupdate[2510:24314] Package Authoring Error: 062-01890: Package reference com.apple.pkg.RosettaUpdateAuto is missing installKBytes attribute

Install of Rosetta 2 finished successfully

conda init

conda update conda

Channels:
- conda-forge
- bioconda
- defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: done

All requested packages already installed.

conda install wget

Channels:
- conda-forge
- bioconda
- defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: done
# All requested packages already installed.

macOS (Apple Silicon)

wget https://data.qiime2.org/distro/amplicon/qiime2-amplicon-2024.5-py38-osx-conda.yml

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

here comes the error:

Channels:

  • released
  • bioconda
  • conda-forge
  • defaults
    Platform: osx-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed
    Channels:
  • released
  • bioconda
  • conda-forge
  • defaults
    Platform: osx-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:

  • package bleach-6.1.0-pyhd8ed1ab_0 is excluded by strict repo priority
  • package c-ares-1.28.1-h10d778d_0 is excluded by strict repo priority
  • package glpk-5.0-h3cb5acd_0 is excluded by strict repo priority
  • package jq-1.7.1-h10d778d_0 is excluded by strict repo priority
  • package libdeflate-1.20-h49d49c5_0 is excluded by strict repo priority
  • package perl-carp-1.50-pl5321hd8ed1ab_0 is excluded by strict repo priority
  • package perl-compress-raw-zlib-2.202-pl5321h775f41a_0 is excluded by strict repo priority
  • package perl-encode-3.21-pl5321h10d778d_0 is excluded by strict repo priority
  • package perl-exporter-5.74-pl5321hd8ed1ab_0 is excluded by strict repo priority
  • package perl-extutils-makemaker-7.70-pl5321hd8ed1ab_0 is excluded by strict repo priority
  • package perl-parent-0.241-pl5321hd8ed1ab_0 is excluded by strict repo priority
  • package perl-scalar-list-utils-1.63-pl5321h775f41a_0 is excluded by strict repo priority
  • package argh-0.31.2-pyhd8ed1ab_0 is excluded by strict repo priority
  • nothing provides r 3.2.2* needed by r-jsonlite-0.9.19-r3.2.2_0
  • package yq-3.4.3-pyhd8ed1ab_0 requires xmltodict >=0.11.0, but none of the providers can be installed
  • package rescript-2024.5.0-py39hd7eca50_0 requires scikit-bio 0.6.0.*, but none of the providers can be installed
  • package q2-vsearch-2024.5.0-py39h3a98678_0 requires biom-format 2.1.15.*, but none of the providers can be installed
  • package q2-quality-control-2024.5.0-py39hedc2112_0 requires r-optparse >=1.7.1, but none of the providers can be installed
  • package q2-emperor-2024.5.0-py39h6bc7627_0 requires emperor 1.0.4, but none of the providers can be installed
  • package q2-diversity-2024.5.0-py39h0179b78_0 requires r-vegan >=2.5_3, but none of the providers can be installed
  • nothing provides r 3.2.2* needed by r-yaml-2.1.13-r3.2.2_0
  • package paramiko-3.4.0-pyhd8ed1ab_0 requires pynacl >=1.5, but none of the providers can be installed
  • package ncbi-datasets-pylib-16.6.1-pyhdfd78af_0 requires urllib3 1.26.*, but none of the providers can be installed
  • nothing provides r 3.2.2* needed by r-magrittr-1.5-r3.2.2_0
  • nothing provides r 3.2.2* needed by r-abind-1.4.3-r3.2.2_0
  • nothing provides r 3.2.2* needed by r-digest-0.6.9-r3.2.2_0
  • package bioconductor-phyloseq-1.46.0-r43hdfd78af_0 requires r-ade4 >=1.7-4, but none of the providers can be installed
  • nothing provides r 3.2.2* needed by r-bit64-0.9_5-r3.2.2_0
  • package biopython-1.83-py39he962182_0 is excluded by strict repo priority
  • package libffi-3.4.2-hecd8cb5_6 is excluded by strict repo priority
  • package munkres-1.1.4-py_0 is excluded by strict repo priority
  • package r-bh-1.84.0_0-r43hc72bb7e_0 is excluded by strict repo priority
  • package r-bit-4.0.5-r43h6dc245f_1 is excluded by strict repo priority
  • package r-checkmate-2.3.1-r43hb2c329c_0 is excluded by strict repo priority
  • package r-data.table-1.15.2-r43he044350_0 is excluded by strict repo priority
  • package r-deldir-2.0_4-r43hed23af9_0 is excluded by strict repo priority
  • package r-dorng-1.8.6-r43h142f84f_0 is excluded by strict repo priority
  • package r-e1071-1.7_14-r43h64b2c41_0 is excluded by strict repo priority
  • package r-fnn-1.1.4-r43h29979af_0 is excluded by strict repo priority
  • package r-futile.logger-1.4.3-r43h6115d3f_0 is excluded by strict repo priority
  • package r-futile.options-1.0.1-r43h142f84f_0 is excluded by strict repo priority
  • package r-ggrepel-0.9.5-r43h29979af_0 is excluded by strict repo priority
  • package r-htmltools-0.5.8.1-r43h29979af_0 is excluded by strict repo priority
  • package r-hwriter-1.3.2.1-r43h142f84f_0 is excluded by strict repo priority
  • package r-jpeg-0.1_10-r43hfb572e7_5 is excluded by strict repo priority
  • package r-knitr-1.46-r43hc72bb7e_0 is excluded by strict repo priority
  • package r-lambda.r-1.2.4-r43h142f84f_0 is excluded by strict repo priority
  • package r-matrixstats-1.3.0-r43hb2c329c_0 is excluded by strict repo priority
  • package r-permute-0.9_7-r43h142f84f_0 is excluded by strict repo priority
  • package r-pheatmap-1.0.12-r43h142f84f_0 is excluded by strict repo priority
  • package r-png-0.1_8-r43h9ae9e50_1 is excluded by strict repo priority
  • package r-prettyunits-1.2.0-r43h142f84f_0 is excluded by strict repo priority
  • package r-progress-1.2.3-r43hc72bb7e_0 is excluded by strict repo priority
  • package r-proxy-0.4_27-r43h6dc245f_2 is excluded by strict repo priority
  • package r-rappdirs-0.3.3-r43h6dc245f_2 is excluded by strict repo priority
  • package r-rcppparallel-5.1.6-r43hac7d2d5_1 is excluded by strict repo priority
  • package r-rcpptoml-0.2.2-r43hac7d2d5_1 is excluded by strict repo priority
  • package r-readr-2.1.5-r43h29979af_0 is excluded by strict repo priority
  • package r-rematch2-2.1.2-r43h142f84f_0 is excluded by strict repo priority
  • package r-rmarkdown-2.27-r43hc72bb7e_1 is excluded by strict repo priority
  • package r-rtsne-0.17-r43h71b1e59_0 is excluded by strict repo priority
  • package r-scales-1.3.0-r43hc72bb7e_0 is excluded by strict repo priority
  • package r-snow-0.4_4-r43h142f84f_0 is excluded by strict repo priority
  • package r-stringr-1.5.1-r43h785f33e_0 is excluded by strict repo priority
  • package r-tibble-3.2.1-r43h6dc245f_2 is excluded by strict repo priority
  • package r-viridis-0.6.5-r43hc72bb7e_0 is excluded by strict repo priority
  • package simplejson-3.19.2-py39he962182_0 is excluded by strict repo priority
  • package tqdm-4.66.4-py39h20db666_0 is excluded by strict repo priority
  • package xopen-2.0.1-py39h6e9494a_0 is excluded by strict repo priority

I will be greatful for a solution ! please !!!!!!!!!!

Hello @alinawazfcc,

Run conda config --set channel_priority flexible and then try reinstalling.

2 Likes

thanks alot! it worked now :slight_smile:

4 Likes