You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use nmslib as default engine for TensorFlow Similarity due to it's broad compatibility with various OSes. We got multiple reports, and I was able to confirm it, that nmslib don't install on Windows 11, potentially related to the issue #498.
Do you have any idea if/when you will be able to take a look at this? With the increased adoption of Win11 it become problematic for us.
Hi @ebursztein which Python version is it? I don't yet have binaries for some recent versions and yes, regretfully, it doesn't build with latest Windows tooling.
I tested wit python 3.9.9 -- Do you have any sense, when you will have a chance to look into it?
Depending on your timeline we might, regretfully, have to use another default library because it completly prevent the installation of the package at the moment :(
Let me know if there is anything we can do to help you out.
@ebursztein this wouldn't work, the easiest way to fix this to provide binaries for latest Python version. I have a deadline next week Monday. Then I can work on building NMSLIB using latest Windows tools. One reason why I didn't support later Python is that building with latest MSVC is currently not possible.
I didn't know that :( that's a pain -- a binary/wheel seems indeed the only option then... if you can look at it next week that would be much appreciated. Thanks!
Hi @ebursztein I will fix the build itself two, but experience shows that even with all the right tools installed, building from sources can be difficult on windows, i.e., pip install would fail for no good reason. Anyways, maybe with later Windows and MSVC it's not a problem any more: I have no idea I haven't built anything on Windows for quite a while. It's gonna be fun :-)
Hi @Mustafa-Akeso yes, I have fixed the code (in the master), but, unfortunately, the Travis builds are failing and I need to port the pipeline to GitHub actions, which I am going to do soon.
Hi there, I have been trying to install the library with the anaconda terminal (pip install nmslib) but I get the same error that is posted in this thread. Has there been any progress on this issue?
@altepu it's fixed in the master branch, but I now have to switch to github actions to make a proper release, because travis doesn't work properly even with the OSS credits. I have been delaying this b/c of other commitments, but it's currently a top priority. So, I hope to make a lot of progress next week.
That said, I only maintain the pip distribution, so I guess I will have to ping a conda package contributor.
Hi there, I was trying to install rank_llm that depends on nmslib and I can't pip install due to build fail of nmslib
I use python 3.11.9 on windows 11 with Visual Studio Build Tools 2022
Are there any solutions for this ? @searchivarius
Activity
searchivarius commentedon Feb 11, 2022
Hi @ebursztein which Python version is it? I don't yet have binaries for some recent versions and yes, regretfully, it doesn't build with latest Windows tooling.
ebursztein commentedon Feb 16, 2022
I tested wit python 3.9.9 -- Do you have any sense, when you will have a chance to look into it?
Depending on your timeline we might, regretfully, have to use another default library because it completly prevent the installation of the package at the moment :(
Let me know if there is anything we can do to help you out.
Thanks
searchivarius commentedon Feb 16, 2022
@ebursztein this wouldn't work, the easiest way to fix this to provide binaries for latest Python version. I have a deadline next week Monday. Then I can work on building NMSLIB using latest Windows tools. One reason why I didn't support later Python is that building with latest MSVC is currently not possible.
ebursztein commentedon Feb 18, 2022
I didn't know that :( that's a pain -- a binary/wheel seems indeed the only option then... if you can look at it next week that would be much appreciated. Thanks!
searchivarius commentedon Feb 18, 2022
Hi @ebursztein I will fix the build itself two, but experience shows that even with all the right tools installed, building from sources can be difficult on windows, i.e., pip install would fail for no good reason. Anyways, maybe with later Windows and MSVC it's not a problem any more: I have no idea I haven't built anything on Windows for quite a while. It's gonna be fun :-)
ebursztein commentedon Feb 19, 2022
I hear you - I haven't compiled with VScode in 10 year either. Let me know if you need help testing.
searchivarius commentedon Feb 25, 2022
@ebursztein I did use MSVC not so long ago. I am past deadline, but still delayed, very soon...
ebursztein commentedon Feb 25, 2022
No worries! Thanks for letting me know
ebursztein commentedon Mar 16, 2022
hey, any news?
searchivarius commentedon Mar 16, 2022
@ebursztein still one little thing to finish. I should be able to start later today.
searchivarius commentedon Mar 17, 2022
PS: @ebursztein sent a message to your github e-mail. It's gonna be quicker to communicate there. thanks!
fixing windows build #508 #498 #464
yet another fix win build #508 #498 #464
Two things:
yet another fix win build #508 #498 #464
Mustafa-Akeso commentedon Apr 19, 2022
Hi there, has there been any update on this issue?
searchivarius commentedon Apr 19, 2022
Hi @Mustafa-Akeso yes, I have fixed the code (in the master), but, unfortunately, the Travis builds are failing and I need to port the pipeline to GitHub actions, which I am going to do soon.
altepu commentedon Jun 9, 2022
Hi there, I have been trying to install the library with the anaconda terminal (pip install nmslib) but I get the same error that is posted in this thread. Has there been any progress on this issue?
searchivarius commentedon Jun 9, 2022
@altepu it's fixed in the master branch, but I now have to switch to github actions to make a proper release, because travis doesn't work properly even with the OSS credits. I have been delaying this b/c of other commitments, but it's currently a top priority. So, I hope to make a lot of progress next week.
That said, I only maintain the pip distribution, so I guess I will have to ping a conda package contributor.
abdesselam-benameur commentedon Oct 28, 2024
Hi there, I was trying to install rank_llm that depends on nmslib and I can't pip install due to build fail of nmslib
I use python 3.11.9 on windows 11 with Visual Studio Build Tools 2022
Are there any solutions for this ? @searchivarius
searchivarius commentedon Dec 2, 2025
Hi folks, please, try to install now. There should be now binaries for Windows Intel and ARM. Do let me know if there any compatibility issues.