Failed building wheel for llama-cpp-python
Describe the bug Not able to run langflow properly because , it shows - "Building wheel for hnswlib (pyproject.toml) did not run successfully."
Browser and Version
- Browser - Chrome
- Version 114.0.5735.110
To Reproduce Steps to reproduce the behavior:
- In the command prompt - pip install langflow
Screenshots
same windows 10 python --version Python 3.10.11
I installed the new VS studio build tools and which included a c++ lib.
langflow installed.
same problem,you may look the second answer here
I installed the c++ library and i have python version - 3.11 I think it runs only on Python 3.10 versions Any idea how do I install that
@Easterlings how linux can install it ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi guys, seems this question is not about llama-python-cpp wheel building error, but I did encounter that problem and finally fix the problem on Mac 2018 Sonoma 14.0 Intel Chip, by:
- update xcode to 15.0, update os version to Sonoma 14.0
- restart
- open xcode and let it download necessary components
- exec the following command in the terminal
sudo xcode-select -s /Applications/Xcode.app - then exec our
pip install langflowcommand to check if the llama-python-cpp installing problem is resolved
By the way, I am using python 3.11 (pip 3.11), clang 15.0(before I exec the xcode-select command it's 11.x) to finish all these procedures.