liltom-eth / llama2-webui

Run any Llama 2 locally with gradio UI on GPU or CPU from anywhere (Linux/Windows/Mac). Use `llama2-wrapper` as your local llama2 backend for Generative Agents/Apps.
MIT License
1.96k stars 201 forks source link

ERROR: Failed building wheel for llama-cpp-python #37

Open qinshuaibo opened 1 year ago

qinshuaibo commented 1 year ago

Failed to build llama-cpp-python ERROR: Could not build wheels for llama-cpp-python, which is required to install pyproject.toml-based projects

liltom-eth commented 1 year ago

@qinshuaibo I am confused that you build wheels for llama-cpp-python. You can either install by pip install llama2-wrapper or pip install -r requirements.txt. Do you mind showing more details?

sherrmann commented 1 year ago

I had the same issue when doing "pip install -r requirements.txt". The problem seems to be a missing c compiler. I was able to solve it by installing Visual Studio 2022 Community Edition and choosing the Python development component.