Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install faiss-cpu failed and version is 1.9.0 with python 3.13 #116

Open
SPKannan opened this issue Nov 4, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@SPKannan
Copy link

SPKannan commented Nov 4, 2024

Describe the bug
Tried to install FAISS-CPU lates version

To Reproduce
Describe the steps to reproduce the behavior:

pip install faiss-cpu

Actiual behavior
Failed to Install

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= -doxygen -Ifaiss -IC:\Users\Admin\AppData\Local\Temp\pip-build-env-fclyyio6\overlay\Lib\site-packages\numpy_core\include -Ifaiss -I/usr/local\include -DSWIGWIN -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: ERROR: Failed to build installable wheels for some pyproject.toml based projects (faiss-cpu)

Desktop (please complete the following information):

  • OS: windows
  • Architecture: x86_64
  • Python: 3.13

Additional context
Add any other context about the problem here.

@SPKannan SPKannan added the bug Something isn't working label Nov 4, 2024
@kyamagu
Copy link
Owner

kyamagu commented Nov 4, 2024

CPython 3.13 will be supported in the next maintenance release.
Meanwhile, please download wheels from the CI artifacts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants