Skip to content

faiss fails to install on Debian 13 (trixie) #339

@davispuh

Description

@davispuh

faiss test fails to install on Debian 13 (trixie)

pts/faiss-1.0.1:
        Test Installation 13 of 13
        3 Files Needed [202 MB / 1 Minute]
        File Found: OpenBLAS-437c0bf2b4697339d96c7bd0bb0bcdac09eccba1.zip                                                                                                                                 [40.17MB]
        File Found: faiss-1.7.4.tar.gz                                                                                                                                                                     [0.87MB]
        File Found: sift.tar.gz                                                                                                                                                                             [161MB]
        Approximate Install Size: 1100 MB
        Estimated Test Install Time: 1 Minute, 7 Seconds
        Installing Test @ 16:57:24
            The installer exited with a non-zero exit status.
            ERROR: ERROR: No matching distribution found for faiss-cpu==1.7.4
            LOG: ~/.phoronix-test-suite/installed-tests/pts/faiss-1.0.1/install-failed.log
Collecting swig
  Using cached swig-4.4.1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (3.5 kB)
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (2.2.4)
ERROR: Could not find a version that satisfies the requirement faiss-cpu==1.7.4 (from versions: 1.9.0.post1, 1.10.0, 1.11.0, 1.11.0.post1, 1.12.0, 1.13.0, 1.13.1, 1.13.2)
ERROR: No matching distribution found for faiss-cpu==1.7.4
-- The CXX compiler identification is GNU 14.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /tmp/pts-compiler-mask-faiss1.0.1/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Could NOT find MKL (missing: MKL_LIBRARIES) 
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Found BLAS: /usr/lib/x86_64-linux-gnu/libopenblas.so
-- Looking for cheev_
-- Looking for cheev_ - found
-- Found LAPACK: /usr/lib/x86_64-linux-gnu/libopenblas.so;/usr/lib/x86_64-linux-gnu/libopenblas.so
CMake Error at /usr/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR python)
Call Stack (most recent call first):
  /usr/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.31/Modules/FindSWIG.cmake:184 (find_package_handle_standard_args)
  faiss/python/CMakeLists.txt:16 (find_package)


-- Configuring incomplete, errors occurred!
make: Nothing to be done for 'faiss'.
make: *** No rule to make target 'demo_sift1M'.  Stop.

The installer exited with a non-zero exit status.

ERROR: ERROR: No matching distribution found for faiss-cpu==1.7.4

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