CheckM2 icon indicating copy to clipboard operation
CheckM2 copied to clipboard

Incompatible packages when installing through conda/mamba

Open alexmsalmeida opened this issue 1 year ago • 4 comments

Hi,

Thanks for developing CheckM2 - I am excited to give it a go. However, I am afraid I have been running into an installation issue when trying the conda/mamba route.

Essentially when I create a new env with mamba I get the following incompatibility issue:

Could not solve for environment specs
The following package could not be installed
└─ checkm2   is uninstallable because it requires
   └─ tensorflow >=2.1.0,<2.6.0 , which requires
      └─ tensorflow-base [2.4.0 py36h515a7b5_0|2.4.0 py37h00a14e9_0|...|2.4.3 py39h23a8cbf_0], which requires
         └─ grpcio [1.36.* |1.37.* ], which requires
            └─ c-ares >=1.17.1,<2.0a0 , which conflicts with any installable versions previously reported.

I assume it is not something from my side as this is a fresh mamba installation, but any tips to circumvent this issue would be greatly appreciated.

Best, Alex

alexmsalmeida avatar Jul 31 '23 16:07 alexmsalmeida

Similar problem here when trying to install with MAMBA v1.1.0:

Could not solve for environment specs Encountered problems while solving:

  • package checkm2-1.0.1-pyh7cba7a3_0 requires tensorflow >=2.1.0,<2.6.0, but none of the providers can be installed

GenomicaMicrob avatar Feb 22 '24 17:02 GenomicaMicrob

Hmm, can you please say how you are creating a new environment? This works for me for instance

mamba create -n checkm2-test checkm2==1.0.1

wwood avatar Feb 23 '24 00:02 wwood

I also got this issue with the installation but managed to trial and error my way to an install with conda that worked for me:

conda create -n checkm2 -c conda-forge -c bioconda python=3.8 checkm2

If you're still struggling (or future people find this) maybe try that. The environment solving also didn't take too long (like some other people mentioned).

byronverz9 avatar May 24 '24 08:05 byronverz9

This code solved my issue, I had tried so many different dependency changes and this one worked! conda create -n checkm2 -c conda-forge -c bioconda python=3.8 checkm2

emilyhyde avatar Jun 13 '24 19:06 emilyhyde