Closed fdarnel closed 11 months ago
That's unfortunate. Seems like the package is expecting c++ installed in a specific place (/usr/lib/libc++.1.dylib
). Can you confirm:
pip install --upgrade torch
in your terminal/usr/lib/libc++.1.dylib
file exist? If so, can you try install the Khoj backend in a python virtual environment
python -m venv .venv && source .venv\bin\activate
pip install khoj-assistant
cp /usr/lib/libc++.1.dylib .venv/lib/python3.11/site-packages/torch/lib # the suggested fix
khoj
xcode
installed on your Mac? You can install it by running xcode-select --install
on your terminalClosing issue due to lack of details to reproduce bug and issue having gone stale
macOS 11.7.9, MacBook Intel, Python 3.11 (python.org). Trying to install then lauch Backend to use with Obsidian plugin. Installation and lauch end with : OSError: dlopen(/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/gpt4all/llmodel_DO_NOT_MODIFY/build/libllmodel.dylib, 6): Symbol not found: ZNSt3113basic_filebufIcNS_11char_traitsIcEEE4openEPKcj Referenced from: /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/gpt4all/llmodel_DO_NOT_MODIFY/build/libllmodel.dylib (which was built for Mac OS X 12.6) Expected in: /usr/lib/libc++.1.dylib