-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
llgo run _pydemo got error by other way install python #344
Comments
What happens if you set |
It's still the same. ❯ echo $LLGO_LIB_PYTHON
-L/opt/anaconda3/envs/python312env/lib -lpython3.12
(base)
llgo/_pydemo/callpy on main [$?] via 🐹 v1.20.13
❯ llgo run .
dyld[35298]: Library not loaded: @rpath/libpython3.12.dylib
Referenced from: <CC44AA19-ED3D-33F8-816A-EB8B12E903AF> /Users/zhangzhiyang/go/bin/callpy
Reason: tried: '/libpython3.12.dylib' (no such file) |
We need to prompt the user to set
DYLD_LIBRARY_PATH
I configured the python environment through
conda
, and I have set theLLGO_LIB_PYTHON
When 'DYLD_LIBRARY_PATH' is set, it will run normally
Environment
mac version: MacOS 14.2 M3 MacBook Pro (2023)
uname -a Darwin ... 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:54:55 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8122 arm64
python version
The text was updated successfully, but these errors were encountered: