Skip to content

pip install error #399

Closed
Closed

Description

@1653091

I am using pip 3.7.3 x64 on WIndows.
image
I already have pyblind11 and numpy.
Thanks a lot.

Activity

  1. searchivarius commented on Jun 20, 2019

    @searchivarius
    Member

    Seems like a similar issue with #394: what is your MS Visual Studio version?
    Thank you!

  2. 1653091 commented on Jun 21, 2019

    @1653091
    Author

    The error occures in file pivot_neighb_invindx.cc and it about _mm_prefetch function not found. So I try changing the header of pivot_neighb_invindx.cc like this. It works
    image
    Anyone who have the same error like me can try it.

  3. searchivarius commented on Jun 21, 2019

    @searchivarius
    Member

    Many thanks, I would have to patch & test!

  4. LouisdeBruijn commented on Jul 11, 2019

    @LouisdeBruijn

    any update on this? I am getting an error as well, but no simple fix for it.

  5. barney54321 commented on Aug 8, 2019

    @barney54321

    I've also come across this issue on multiple computers, all running Windows 10 and Python 3.7.4
    Here's the error from my pip log:
    err.txt

  6. searchivarius commented on Aug 12, 2019

    @searchivarius
    Member

    @barney54321 I hope to look into this quite soon (likely after this Wed).

  7. chandansharma02 commented on Oct 31, 2019

    @chandansharma02

    Hi Leonid Boytsov..........Any luck with above?

  8. searchivarius commented on Oct 31, 2019

    @searchivarius
    Member

    We should be soon done with this. We will also be able to provide binaries, albeit they might be a bit slower.

  9. chandansharma02 commented on Nov 3, 2019

    @chandansharma02

    Thank you looking forward for either. I am using windows 10. In case of binaries, speed is less of an issues as of now.

  10. searchivarius commented on Nov 3, 2019

    @searchivarius
    Member

    @chandansharma02 ok, sure, should be done with this today.

  11. searchivarius commented on Nov 5, 2019

    @searchivarius
    Member

    Hi @chandansharma02 could you check if the current binary version works for you? Thank you!

  12. chandansharma02 commented on Nov 6, 2019

    @chandansharma02

    Thank you again. Now I am able to pip install it and able to import the library. Will run the complete code and hope all works.

  13. searchivarius commented on Nov 6, 2019

    @searchivarius
    Member

    Nice, thank you for confirming @chandansharma02

  14. 6 remaining items

  15. snosrap commented on Feb 10, 2020

    @snosrap

    I had to use pip install nmslib --only-binary all (no colon)

    But I still got the same compilation problem...

    pip install nmslib --only-binary all starts running "setup.py install for nmslib", then errors with error C3861: '_mm_prefetch': identifier not found -- same as before

  16. searchivarius commented on Feb 10, 2020

    @searchivarius
    Member

    @snosrap which Python version do you have?

  17. snosrap commented on Feb 10, 2020

    @snosrap
    Microsoft Windows [Version 10.0.16299.1625]
    
    > python -V
    Python 3.8.1
    
    > pip -V
    pip 20.0.2 from c:\users\me\appdata\local\programs\python\python38\lib\site-packages\pip (python 3.8)
    
  18. searchivarius commented on Feb 10, 2020

    @searchivarius
    Member

    @snosrap unfortunately, we don't have 3.8 yet, 3.7 is the latest.

  19. snosrap commented on Feb 10, 2020

    @snosrap

    Ah, that explains it.

    Well, I'll be compiling my own using this fix in the meantime. Your windows compilation environment must have access to more header files than mine!

    Thanks for looking into this.

  20. searchivarius commented on Feb 10, 2020

    @searchivarius
    Member

    @snosrap yes, the header needs to be fixed too for sure. It's surprising the header set isn't standard accross Windows machines though.

  21. jzthree commented on Nov 1, 2020

    @jzthree

    I am encountering the same error for the nmslib conda-forge recipe that I maintain ( thanks for the awesome library! I am using it in another conda package that I made, and nmslib was not available in the anaconda ecosystem yet so I made the recipe). All of the windows builds error out (for all python 3 versions) but Linux and OSX builds were fine (conda-forge/nmslib-feedstock#6 (comment)).

    I am not familiar with these headers but it does seem like the fix proposed in this thread (changing mmintrin.h to xmmintrin.h) agrees with Intel's docs that _mm_prefetch is part of xmmintrin.h (https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=4391&text=_mm_prefetch).

    I also found this useful https://stackoverflow.com/questions/11228855/header-files-for-x86-simd-intrinsics.

  22. searchivarius commented on Nov 5, 2020

    @searchivarius
    Member

    @jzthree yeah, these includes are wrong, I will try to fix them in the upcoming release.

  23. searchivarius commented on Nov 26, 2020

    @searchivarius
    Member

    Hi @jzthree we have updated headers in the develop branch. Could you check if this still causes a trouble? Many thanks!

  24. jzthree commented on Nov 27, 2020

    @jzthree

    Great thanks! I can confirm the build problem is gone with the develop branch. The environment I tested was Windows 10 + python 3.8 + vs2017.

  25. searchivarius commented on Nov 27, 2020

    @searchivarius
    Member

    @jzthree awesome, many thanks! we will be rolling out this version quite soon.

  26. searchivarius commented on Nov 27, 2020

    @searchivarius
    Member
  27. NancyLi1013 commented on Dec 1, 2020

    @NancyLi1013
    Contributor

    Hi @searchivarius
    Thanks for your kindly reminder. Of course, we can remove this patch in next release if these changes merged to.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions