Thank you! This fixed the issue.
• 0 views
•
link
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.
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
Thank you! This fixed the issue.
Log in to answer this question.