hnswlib icon indicating copy to clipboard operation
hnswlib copied to clipboard

Error: ‘_mm512_reduce_add_ps’ was not declared in this scope

Open zhang-jingzhe opened this issue 1 year ago • 1 comments

I'm trying to install from sources on Ubuntu 16.04.7 LTS. After I execute pip install ., error happens that "Could not build wheels for hnswlib". image the exact error is "‘_mm512_reduce_add_ps’ was not declared in this scope". image I executed the above command in a virtual environment created by conda, with python version 3.8.18.

zhang-jingzhe avatar Mar 18 '24 15:03 zhang-jingzhe

I‘ve solved the above problem by setting an environment variable: export HNSWLIB_NO_NATIVE=1 refer to: https://stackoverflow.com/questions/73969269/error-could-not-build-wheels-for-hnswlib-which-is-required-to-install-pyprojec

zhang-jingzhe avatar Mar 19 '24 12:03 zhang-jingzhe