Unable to install packages through conda

Hello, I am trying to install packages using conda, but for all the installation, I am getting the same error. I recently purchased the new MacBook Pro with the M1 chip and I’m trying to install various packages such as bwa, diamond, and megahit. Any suggestions?

(base) skga@OL017539 workflow % conda install bwa

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

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

  - bwa

Current channels:

  - defaults
  - https://conda.anaconda.org/bioconda
  - https://conda.anaconda.org/conda-forge

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.
(base) skga@OL017539 workflow % conda install bioconda/label/cf201901::bwa

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

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

  - bioconda/label/cf201901::bwa

Current channels:

  - defaults
  - https://conda.anaconda.org/bioconda
  - https://conda.anaconda.org/conda-forge
  - https://conda.anaconda.org/bioconda/label/cf201901

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

Best,
Shanky

Perhaps this is relevant? PackagesNotFoundError | Does bioconda channel has osx-arm64 platform? · Issue #11216 · conda/conda · GitHub

2 Likes