CheckM2
CheckM2 copied to clipboard
Saved models could not be loaded: 'str' object has no attribute 'decode'
The installed checkm2 v1.0.1 returns an error saying that the model could not be loaded. testrun
seems not working. Manual installation with checkm2 v1.0.2 by git clone
and python setup install
also has this problem.
mamba create -n checkm2 -c bioconda -c conda-forge checkm2
checkm2 database --download
checkm2 testrun
[06/01/2023 03:11:36 PM] INFO: Test run: Running quality prediction workflow on test genomes with 1 threads. [06/01/2023 03:11:36 PM] INFO: Running checksum on test genomes. [06/01/2023 03:11:36 PM] INFO: Checksum successful. [06/01/2023 03:11:36 PM] ERROR: Saved models could not be loaded: 'str' object has no attribute 'decode'
It also gives an warning regarding the version of numpy, are they related?
UserWarning: A NumPy version >=1.19.5 and <1.27.0 is required for this version of SciPy (detected version 1.19.2)
warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}"