Skip to content

scikit-learn fails to install on Debian 13 (trixie) #334

@davispuh

Description

@davispuh

scikit-learn test fails to install on Debian 13 (trixie).

pts/scikit-learn-2.0.0:
        Test Installation 1 of 1
        7 Files Needed [101 MB / 1 Minute]
        File Found: scikit-learn-1.2.2.tar.gz                                                                                                                                                              [7.06MB]
        File Found: OpenBLAS-437c0bf2b4697339d96c7bd0bb0bcdac09eccba1.zip                                                                                                                                 [40.17MB]
        File Found: numpy-1.24.3.tar.gz                                                                                                                                                                   [10.40MB]
        File Found: scipy-20230505.tar.xz                                                                                                                                                                 [42.94MB]
        File Found: joblib-1.2.0.tar.gz                                                                                                                                                                    [0.33MB]
        File Found: threadpoolctl-3.1.0.tar.gz                                                                                                                                                             [0.03MB]
        File Found: scikit-learn-benchmark-improvements-1.tar.xz                                                                                                                                           [0.01MB]
        Estimated Test Install Time: 3 Minutes, 22 Seconds
        Installing Test @ 21:18:07
            The installer exited with a non-zero exit status.
            ERROR: error: subprocess-exited-with-error
            LOG: ~/.phoronix-test-suite/installed-tests/pts/scikit-learn-2.0.0/install-failed.log

There's a lot of errors/failures in install-failed.log
Here's just last part

Collecting glmnet
  Using cached glmnet-2.2.1.tar.gz (90 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [2 lines of output]
      install requires: 'numpy'. use pip or easy_install.
        $ pip install numpy
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions