conda/bioconda installation of plink fails
1
0
Entering edit mode
4.8 years ago

I'm trying to install the latest version of plink using conda install, as per the instructions here: https://anaconda.org/bioconda/plink

So I have tried

conda install -c bioconda plink

and

conda install -c bioconda/label/cf201901 plink

But I keep getting the error

Solving environment: failed with initial frozen solve. Retrying with flexible solve.

If I wait then it says

Found conflicts! Looking for incompatible packages.

then

UnsatisfiableError: The following specifications were found to be incompatible with each other:

then

Package mkl conflicts for:

and a big list of things I don't understand, but they mention numpy a lot.

I thought plink and numpy would have nothing to do with each other.

How do I install the latest version of plink in the easiest way possible, preferably using conda/bioconda?

Thanks

installation conda bioconda plink command line • 4.5k views
ADD COMMENT
2
Entering edit mode
4.8 years ago
curious ▴ 820

try a a fresh enviornment with conda conda create -n new_env. If not activated then probably conda activate new_env then try to install.

Otherwise maybe google plink binary and download newest if you cna't get conda to work.

ADD COMMENT
0
Entering edit mode

Amazing! It worked. Thank you so much. What is the explanation for this? Thanks

ADD REPLY
2
Entering edit mode

Your install of numpy is probably pinned against MKL and blas, whereas plink is pinned against openblas (and having MKL/blas and openblas in the same env may cause some problems). There is a way to tell conda to use openblas whereever it wants blas: https://github.com/conda-forge/numpy-feedstock/issues/108 .

ADD REPLY
0
Entering edit mode

Thanks. It's going to take a lot of Googling to understand this, but thanks!

ADD REPLY
0
Entering edit mode

I don't know, the idea of environments is to keep things isolated so you don't get conflicts. Trying in a fresh environment is like the equivalent of "did you try turning it off and on again"

ADD REPLY

Login before adding your answer.

Traffic: 1966 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