From ee2d67c1513116bece5672417468092e51690c85 Mon Sep 17 00:00:00 2001 From: Aofei Sheng Date: Thu, 13 Jun 2024 15:40:35 +0800 Subject: [PATCH] README: fix LLGO_LIB_PYTHON instruction --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2de4e002..a497e370 100644 --- a/README.md +++ b/README.md @@ -129,10 +129,10 @@ You can also specify the path to tell `llgo` where the Python library is located export LLGO_LIB_PYTHON=/foo/bar/python3.12 ``` -For example, `/opt/homebrew/Frameworks/Python.framework/Versions/3.12/libpython3.12.dylib` is a typical python library location under macOS. So we should set it like this: +For example, `/opt/homebrew/Frameworks/Python.framework/Versions/3.12/lib/libpython3.12.dylib` is a typical python library location under macOS. So we should set it like this: ```sh -export LLGO_LIB_PYTHON=/opt/homebrew/Frameworks/Python.framework/Versions/3.12/python3.12 +export LLGO_LIB_PYTHON=/opt/homebrew/Frameworks/Python.framework/Versions/3.12/lib/python3.12 ``` Note that the file name must be written in a platform-independent format, using `python3.12` instead of `libpython3.12.dylib`.