Installation of hnswlib library in windows system

Installation process:

First explain the problems I encountered when installing the module.
Direct pip installation error. Downloading code on git still reports errors.
The h file is missing.
The reason is that the compilation environment cannot find the path where the h file is located.
The command to view the local compilation call is:
Insert picture description here
So add the missing h file directory to the include that the compilation environment depends on.
Insert picture description here
Then execute it in the downloaded git installation package, and python setup.py install can be successfully installed.

Online results: As
Insert picture description here
you can see, the installation can be introduced normally:
Insert picture description here

Guess you like

Origin blog.csdn.net/cyinfi/article/details/102075088