From 9ecd92a1b4150f678cfb5ffa53f5c2bf443bbae6 Mon Sep 17 00:00:00 2001 From: Sofie Van Landeghem Date: Sun, 27 Oct 2024 02:28:27 +0200 Subject: [PATCH] Add shorter version of pip installing nmslib from source (#529) --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7fd2f01..1afb8ad 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ Over the years, installing nmslib has becomes quite difficult. There are a numbe Other methods mentioned in GitHub issues, but unconfirmed what versions they work for: - `CFLAGS="-mavx -DWARN(a)=(a)" pip install nmslib` - `pip install --no-binary :all: nmslib` +- `pip install "nmslib @ git+https://github.com/nmslib/nmslib.git/#subdirectory=python_bindings"` - `pip install --upgrade pybind11` + `pip install --verbose 'nmslib @ git+https://github.com/nmslib/nmslib.git#egg=nmslib&subdirectory=python_bindings'` #### Setting up a virtual environment