AstrobioMike / bit

Bioinformatics Tools
GNU General Public License v3.0
81 stars 11 forks source link

PackagesNotFoundError with installation. #27

Open chrissy005 opened 5 hours ago

chrissy005 commented 5 hours ago

Hello,

I get the following error as I try to install the package with Conda. Could you advise how I can proceed further.

conda create -n bit -c astrobiomike -c conda-forge -c bioconda -c defaults bit Channels:

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

Current channels:

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.

chrissy005 commented 4 hours ago

I think I managed to resolve this by specifying the platform flag in the command - "--platform osx-64" as the default platform is osx-arm64

AstrobioMike commented 3 hours ago

Heya, Chrissy :)

Glad you sorted it out! But one point of clarification, that's not the default for any package (including bit), it's a default determined by your conda installation. The vast majority of things are still more likely to be found for the osx-64 architecture but not for the osx-arm64 one (including many of bit's dependencies).

It's probably easiest to set your default to use osx-64, or install that version of conda rather than the osx-arm64 version (e.g., as recommended here).