Error installing q2-boots-2024.5.beta: packages not available from current channels

Hi QIIME2 community and q2-boots developers:

I was following the q2-boots-documentation to install the 2024.5.beta release of q2-boots with conda 24.7.1 on macOS with Apple M1 Chip.

When I ran

conda env create \
-n q2-boots-2024.5.beta \
-f https://raw.githubusercontent.com/qiime2/q2-boots/main/environments/q2-boots-qiime2-amplicon-2024.5.yml

I got this error message:

Channels:

  • passed
  • conda-forge
  • bioconda
    Platform: osx-arm64
    Collecting package metadata (repodata.json): done
    Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  • qiime2-amplicon

Current channels:

I have searched the forum and found some discussions on bioconda and platform osx-arms64, but I'm still quite confused how I can solve my issue. Some specific guidance will be much appreciated! This plugin looks exciting and I really look forward to have a try.

Thank you in advance!

Hi @Chumei_Tang,

Welcome to the :qiime2: forum! :wave:

Are you by chance using a Mac with an Apple Silicon chip (M1, M2, etc)? The reason I ask is because the platform conda seems to be auto-detecting on your install attempt is osx-arm64. QIIME 2 is only supported on osx-64 and linux-64. If this is the case, here's what you can do to resolve the issue (with a slightly modified install command):

CONDA_SUBDIR=osx-64 conda env create -n q2-boots-2024.5.beta \
-f https://raw.githubusercontent.com/qiime2/q2-boots/main/environments/q2-boots-qiime2-amplicon-2024.5.yml

This will adjust the platform to osx-64 which should allow you to install q2-boots successfully. Once the environment has been created and you've activated it, you'll want to run one additional command (this will modify your conda config to only ever use osx-64 as the platform):

conda config --env --set subdir osx-64

This should get you all sorted, but please let us know if you're still running into any issues!

Cheers :lizard:

1 Like

Hi @lizgehret,

It works! Thank you very much :raised_hands:

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.