Can't install hisat2 with miniconda
1
0
Entering edit mode
4 months ago
Ozymandeus ▴ 30

I've been trying to install hisat2 with Miniconda but I keep getting this error. Miniconda is updated and seemingly installed. Also I'm on Mac OS. Please Advise.

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

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

  - hisat2

Current channels:

  - https://conda.anaconda.org/bioconda
  - https://conda.anaconda.org/default
  - defaults
  - 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.
unix miniconda hisat2 • 658 views
ADD COMMENT
4
Entering edit mode
4 months ago

You have installed the wrong version of conda.

Even on M1 (arm64 CPU) you need to be using the Intel-based (x64 CPU) conda installer. So delete the conda you have now and install the other Mac version conda.

What will cause problems later that your channels are in the wrong order.

# Set the proper channel order
conda config --prepend channels bioconda
conda config --prepend channels conda-forge
conda config --remove default

# Set the channel priority
conda config --set channel_priority strict

Your final .condac should contain only:

channels:
  - conda-forge
  - bioconda
channel_priority: strict
ADD COMMENT
0
Entering edit mode

Thank you! This fixed the issue.

ADD REPLY

Login before adding your answer.

Traffic: 1614 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6