-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 latest haystack version on Windows #446
Comments
Facebook officially support Conda packages on MacOS and Linux (refer thread). So in order to use it on Windows, you have to build package by yourself (refer build instructions) or use linux docker image. |
@lalitpagaria Is there a quick and dirty way to remove the faiss-dependency ourselves? |
@sophgit I managed installing the pip package by using the source and modifying one line inside the requirements.txt file. I just commented out ´ pip install haystack -f https://download.pytorch.org/whl/torch_stable.html´ |
@lalitpagaria furthermore |
@Zenahr I am afraid it is not easy to compile on Window. Faiss team posed this -
I think if you are not using |
@lalitpagaria Yeah that's basically what I wanted to say. Maybe we could have a branch |
Good news! Now Faiss (CPU) supports Windows. |
Nice! We should do some benchmarking to verify performance and then upgrade. Yesterday I had some issues with the PyPI installation, but this got fixed already (kyamagu/faiss-wheels#26) |
Describe the bug:
I can't install the latest haystack version on Windows and therefore can't use haystack properly. Tried using pip install farm-haystack==0.4.0 and pip install git+https://github.com/deepset-ai/haystack.git. I suspect it has something to do with faiss-cpu not being compatible with Windows. Is there a way to use haystack anyways? Thanks :)
Error message:
AttributeError: 'MSVCCompiler' object has no attribute 'compiler'
----------------------------------------
ERROR: Failed building wheel for faiss-cpu
Running setup.py clean for faiss-cpu
Failed to build faiss-cpu
Installing collected packages: faiss-cpu, farm-haystack
Running setup.py install for faiss-cpu ... error
ERROR: Command errored out with exit status 1
System:
The text was updated successfully, but these errors were encountered: