Install doesn't complete with python 3.12
kfletcherelo opened this issue · 2 comments
kfletcherelo commented
Using python 3.12 I obtained the following error:
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
╰─> [93 lines 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
This could be fixed by downgrading python to 3.9 (see kyamagu/faiss-wheels#80)
I recommend updating the README.md to state which versions of Python the software has been tested with.
jhrcook commented
Can confirm that installation was unsuccessful with 3.12 but successful with Python v3.11.6 (on an M2 Mac).
jamesbraza commented
We have just released version 5, which no longer depends upon faiss. So I am going to close this out.
If your issue still persists, please reopen a new issue using paper-qa>=5