faiss-wheels icon indicating copy to clipboard operation
faiss-wheels copied to clipboard

Not Installing

Open Dawood-khan-007 opened this issue 5 months ago • 7 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Describe the steps to reproduce the behavior:Collecting faiss-cpu Using cached faiss-cpu-1.7.4.tar.gz (57 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: faiss-cpu Building wheel for faiss-cpu (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for faiss-cpu (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [8 lines of output] running bdist_wheel running build running build_py running build_ext building 'faiss._swigfaiss' extension swigging faiss\faiss\python\swigfaiss.i to faiss\faiss\python\swigfaiss_wrap.cpp swig.exe -python -c++ -Doverride= -I/usr/local/include -Ifaiss -doxygen -DSWIGWIN -module swigfaiss -o faiss\faiss\python\swigfaiss_wrap.cpp faiss\faiss\python\swigfaiss.i error: command 'swig.exe' failed: None [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for faiss-cpu Failed to build faiss-cpu ERROR: Could not build wheels for faiss-cpu, which is required to install pyproject.toml-based projects

pip install faiss-cpu

Expected behavior A clear and concise description of what you expected to happen.

Desktop (please complete the following information):

  • OS: [e.g. Linux]
  • Architecture: [e.g. x86_64, arm64]
  • Python: [e.g. 3.9]
  • Version: [e.g. v1.7.3]

Additional context Add any other context about the problem here.

Dawood-khan-007 avatar Feb 05 '24 15:02 Dawood-khan-007