Skip to content

NMSLIB doesn't work on Windows 11 #508

Open

Description

@ebursztein

Hello,

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.

Thanks :)

Activity

  1. searchivarius commented on Feb 11, 2022

    @searchivarius
    Member

    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.

  2. ebursztein commented on Feb 16, 2022

    @ebursztein
    Author

    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

  3. searchivarius commented on Feb 16, 2022

    @searchivarius
    Member

    @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.

  4. ebursztein commented on Feb 18, 2022

    @ebursztein
    Author

    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!

  5. searchivarius commented on Feb 18, 2022

    @searchivarius
    Member

    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 :-)

  6. ebursztein commented on Feb 19, 2022

    @ebursztein
    Author

    I hear you - I haven't compiled with VScode in 10 year either. Let me know if you need help testing.

  7. searchivarius commented on Feb 25, 2022

    @searchivarius
    Member

    @ebursztein I did use MSVC not so long ago. I am past deadline, but still delayed, very soon...

  8. ebursztein commented on Feb 25, 2022

    @ebursztein
    Author

    No worries! Thanks for letting me know

  9. ebursztein commented on Mar 16, 2022

    @ebursztein
    Author

    hey, any news?

  10. searchivarius commented on Mar 16, 2022

    @searchivarius
    Member

    @ebursztein still one little thing to finish. I should be able to start later today.

  11. searchivarius commented on Mar 17, 2022

    @searchivarius
    Member

    PS: @ebursztein sent a message to your github e-mail. It's gonna be quicker to communicate there. thanks!

  12. Mustafa-Akeso commented on Apr 19, 2022

    @Mustafa-Akeso

    Hi there, has there been any update on this issue?

  13. searchivarius commented on Apr 19, 2022

    @searchivarius
    Member

    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.

  14. altepu commented on Jun 9, 2022

    @altepu

    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?

  15. searchivarius commented on Jun 9, 2022

    @searchivarius
    Member

    @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.

  16. abdesselam-benameur commented on Oct 28, 2024

    @abdesselam-benameur

    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

    image

  17. searchivarius commented on Dec 2, 2025

    @searchivarius
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions