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

DOC: More reliable installation instructions #513

Open
corneliusroemer opened this issue Feb 24, 2023 · 0 comments
Open

DOC: More reliable installation instructions #513

corneliusroemer opened this issue Feb 24, 2023 · 0 comments

Comments

@corneliusroemer
Copy link
Contributor

corneliusroemer commented Feb 24, 2023

We should make installation instructions less brittle by configuring the channels permanently.

Setting environment to always use the right channel order:

conda create -n pangolin -y
conda activate pangolin
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict

For M1 macs, it's necessary to use the osx-64 subdir (bioconda doesn't have arm support yet):

conda activate pangolin
conda config --env --set subdir osx-64

Installation:

conda activate pangolin
conda install pangolin -y

Update:

conda activate pangolin
conda update --all

For a clean reinstall, try:

conda remove pangolin
conda install pangolin

If update doesn't work as expected, remove packages and start fresh.

Remove all

conda activate base
conda remove --all pangolin

I think those instructions should work.

Update: tested install on a fresh environment on linux-64 and arm mac and worked great. It's important that conda-forge is at the top of the channel list if priority is strict. If bioconda comes first, solving fails.

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

1 participant