chklovski / CheckM2

Assessing the quality of metagenome-derived genome bins using machine learning
GNU General Public License v3.0
159 stars 19 forks source link

Incompatible packages when installing through conda/mamba #70

Open alexmsalmeida opened 11 months ago

alexmsalmeida commented 11 months ago

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

GenomicaMicrob commented 4 months ago

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

Could not solve for environment specs Encountered problems while solving:

wwood commented 4 months ago

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
byronverz9 commented 1 month ago

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).

emilyhyde commented 1 month ago

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