Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anaalmeidasantos opened this issue Jun 27, 2023 · 2 comments

Comments

@anaalmeidasantos
Copy link

anaalmeidasantos commented Jun 27, 2023

Everytime that I try to install a new program, using the environment option I got this error.

(base) anasantos@MacBook-Air-de-Ana-110 FASTA % conda create -n roary_env -c bioconda roary
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed

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

  - roary

Current channels:

  - https://conda.anaconda.org/bioconda/osx-arm64
  - https://conda.anaconda.org/bioconda/noarch
  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/osx-arm64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/osx-arm64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/osx-arm64
  - https://repo.anaconda.com/pkgs/r/noarch

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.
@milot-mirdita
Copy link
Contributor

Bioconda doesn't support Apple Silicon (ARM64) yet.
I have suggesting support for this some time ago (bioconda/bioconda-utils#706).

You can still use bioconda through Rosetta though:

CONDA_SUBDIR=osx-64 conda create -n NEW_ENV -c conda-forge -c bioconda WHATEVER_PACKAGES_YOU_WANT
conda activate NEW_ENV
conda config --env --set subdir osx-64
use-whatever-you-installed

@jmarshall jmarshall mentioned this issue Jul 24, 2023
2 tasks
@bsierieb1
Copy link

The solution of @milot-mirdita works like a charm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants