CheckM2 icon indicating copy to clipboard operation
CheckM2 copied to clipboard

Unable to install scikit-learn==0.23.2

Open sjaenick opened this issue 2 years ago • 1 comments

Hi,

on Ubuntu 20.04 LTS, I'm unable to install CheckM2 because the outdated scikit-learn fails to compile. This is with Python 3.11.2, and conda or Docker currently isn't an option for us.

            creating build/temp.linux-x86_64-3.11/scipy/cluster
            INFO: compile options: '-I/tmp/pip-build-env-l2e7hsoe/overlay/lib/python3.11/site-packages/numpy/core/include -I/tmp/pip-build-env-l2e7hsoe/overlay/lib/python3.11/site-packages/numpy/core/include -Ibuild/src.linux-x86_64-3.11/numpy/distutils/include -I/vol/mgx-sw/include/python3.11 -c'
            extra options: '-msse -msse2 -msse3'
            INFO: gcc: scipy/cluster/_vq.c
            scipy/cluster/_vq.c:196:12: fatal error: longintrepr.h: No such file or directory
              196 |   #include "longintrepr.h"
                  |            ^~~~~~~~~~~~~~~
            compilation terminated.

sjaenick avatar Feb 24 '23 17:02 sjaenick

Unfortunately the scikit-learn version is a hard requirement due to incompatible version-changes to pickled data scalers checkm2 loads. I am looking into getting rid of that, but for the moment conda is the only alternative solution.

chklovski avatar May 18 '23 05:05 chklovski