From eba9b05b2844f0fab56b00e874b3c7a1496cc589 Mon Sep 17 00:00:00 2001 From: liu biao Date: Mon, 8 May 2023 23:16:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=9C=A8macos=E4=B8=8B?= =?UTF-8?q?=E5=AE=89=E8=A3=85swig=E8=AF=B4=E6=98=8E=20(#253)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 3695e70..6ebeab7 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,11 @@ poetry install 你也可以通过pip来安装依赖: **注意**: `MacOS`下`faiss 1.7.2`版本会导致抛出段错误,在手动安装时请使用命令`pip install faiss-cpu==1.7.0`指定使用`1.7.0`版本 + `MacOS`下可通过`brew`安装`Swig` + + ```bash + brew install swig + ``` ```bash pip install -r requirements.txt