asntech / intervene

Intervene: a tool for intersection and visualization of multiple genomic region and gene sets
http://intervene.rtfd.io/
Other
132 stars 28 forks source link

conda install not working with existing environment python=3.7 #43

Closed dllahr closed 11 months ago

dllahr commented 3 years ago

Hi

Thank you for building this incredibly useful tool! It has greatly improved how we are able to look at set overlap data.

I ran into a problem trying to install to an existing conda environment, seems to be the issue is that it is not compatible with python 3.7.7 - here is the error message I received:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \ 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                                                                                                                                                      

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - intervene -> python[version='2.7.*|3.5.*|3.6.*']

Your python: python==3.7.7=hf48f09d_4

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

As a work around I just created a separate environment, but I wanted to share in case this was just a quick fix in conda to specify that intervene does in fact work with python 3.7.

I'm using conda 4.9.2 (installed from miniconda), on Mac OS X.

asntech commented 3 years ago

Thanks for your interest! For some reason, it is not picking the latest version. If you force the version it should work. conda install intervene=0.6.5 -c bioconda