CheckM2
CheckM2 copied to clipboard
Incompatible packages when installing through conda/mamba
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
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
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
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).
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