1
0
Entering edit mode
3.1 years ago

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 • 2.7k views
2
Entering edit mode
3.1 years ago
curious ▴ 720

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.

0
Entering edit mode

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

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 .

0
Entering edit mode

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

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"