-
Notifications
You must be signed in to change notification settings - Fork 547
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
Unable to install txtai, below is the error. I have installed c++ build tools #1
Comments
Thank you for the notes on this issue. Unfortunately, I haven't tested with Windows and it looks like one of the packages referenced, faiss-gpu, doesn't support Windows. If you're willing to give it a try, there is a port of faiss for Windows here: https://github.com/bitsun/faiss/blob/master/INSTALL_cmake.md. Otherwise, I'll work to locate a Windows machine to further test the install process on Windows. The thought would be to build this package and ignore the faiss-gpu dependency when installing txtai. |
@davidmezzetti I tried it, appears setting up faiss on windows is not that straightforward. I have a box with big GPU and Windows OS, can't move to linux as of now. Will try to find a linux box for experimentation, meanwhile please let us know if you find any work around! |
After spending a good deal of time working to setup an environment to compile faiss on Windows, I realize that it's not a practical solution. Will investigate having a fallback option for Windows when faiss isn't present. |
@davidmezzetti thanks for update, highly appreciate this! |
This issue has been resolved with v1.1.0, Windows installs should now work without issue. |
ERROR: Command errored out with exit status 1: 'c:\users\gaussfer\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Gaussfer\AppData\Local\Temp\pip-install-1drqoyp0\faiss-gpu\setup.py'"'"'; file='"'"'C:\Users\Gaussfer\AppData\Local\Temp\pip-install-1drqoyp0\faiss-gpu\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Gaussfer\AppData\Local\Temp\pip-record-wnt_ovu1\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\gaussfer\anaconda3\Include\faiss-gpu' Check the logs for full command output.
The text was updated successfully, but these errors were encountered: