I can't figure out what the problem could be.
Error details: Couldn't install sd-webui-infinite-image-browsing requirement: hnswlib>=0.0.0,<1.0.0.
Command: "E:\forge-neo\system\python\python.exe" -m pip install "hnswlib>=0.0.0,<1.0.0" --prefer-binary
Error code: 1
stdout: Collecting hnswlib<1.0.0,>=0.0.0
Using cached hnswlib-0.8.0.tar.gz (36 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: numpy in e:\forge-neo\system\python\lib\site-packages (from hnswlib<1.0.0,>=0.0.0) (1.26.4)
Building wheels for collected packages: hnswlib
Building wheel for hnswlib (pyproject.toml): started
Building wheel for hnswlib (pyproject.toml): finished with status 'error'
Failed to build hnswlib
stderr: error: subprocess-exited-with-error
Building wheel for hnswlib (pyproject.toml) did not run successfully.
exit code: 1
[5 lines of output]
running bdist_wheel
running build
running build_ext
building 'hnswlib' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for hnswlib
error: failed-wheel-build-for-install
Failed to build installable wheels for some pyproject.toml based projects
Microsoft C++ Build Tools 14.0 are installed on the system. I assume the problem is that the build is portable?
...or there simply isn't a ready-made, compiled hnswlib package for Python: 3.11.9...