Open TheCodeInjection opened 1 year ago
Same here. pls lmk if u figured it out
figured it out on windows 10... make sure to install MS visual studios(https://visualstudio.microsoft.com/vs/) with the c++ package (https://visualstudio.microsoft.com/visual-cpp-build-tools/) and check to make sure python is up to date with command: python --version
Got the same on MacOS 12 Monterey
"Building wheels for collected packages: llama-cpp-python Building wheel for llama-cpp-python (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for llama-cpp-python (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [119 lines of output]
...SKIPPED
ggml.c:147:10: fatal error: 'Accelerate/Accelerate.h' file not found
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [ggml.o] Error 1
ninja: build stopped: subcommand failed.
"
Pls lmk hot to fix it properly
@maganystar I fixed this on Mac OS by making sure XCode was installed:
xcode-select --install
figured it out on windows 10... make sure to install MS visual studios(https://visualstudio.microsoft.com/vs/) with the c++ package (https://visualstudio.microsoft.com/visual-cpp-build-tools/) and check to make sure python is up to date with command: python --version
this is working if facing the same issue
figured it out on windows 10... make sure to install MS visual studios(https://visualstudio.microsoft.com/vs/) with the c++ package (https://visualstudio.microsoft.com/visual-cpp-build-tools/) and check to make sure python is up to date with command: python --version
this worked for me as well
In my Case the Windows 10 SDK was missing, after I added it, it worked
Building wheels for collected packages: llama-cpp-python, hnswlib Building wheel for llama-cpp-python (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for llama-cpp-python (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [308 lines of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for llama-cpp-python Building wheel for hnswlib (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for hnswlib (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [5 lines of output] running bdist_wheel running build running build_ext building 'hnswlib' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for hnswlib Failed to build llama-cpp-python hnswlib ERROR: Could not build wheels for llama-cpp-python, hnswlib, which is required to install pyproject.toml-based projects