ITADN

ERROR: Failed building wheel for llama-cpp-python

#91Closedrobertgro 创建于 2025-07-16
R
robertgrocommented
Isn't this repo actively maintained anymore? When issueing `pip install llama-cpp-agent` in a fresh [venv](https://docs.python.org/3/library/venv.html), I get the following error: ``` 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 ╰─> [20 lines of output] *** scikit-build-core 0.11.5 using CMake 3.30.4 (wheel) *** Configuring CMake... 2025-07-16 20:51:49,908 - scikit_build_core - WARNING - Can't find a Python library, got libdir=None, ldlibrary=None, multiarch=None, masd=None loading initial cache file C:\Users\admin\AppData\Local\Temp\tmpmn8_j1qv\build\CMakeInit.txt -- Building for: NMake Makefiles CMake Error at CMakeLists.txt:3 (project): Running 'nmake' '-?' failed with: no such file or directory CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! *** CMake configuration failed [end 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 Failed to build llama-cpp-python ERROR: Failed to build installable wheels for some pyproject.toml based projects (llama-cpp-python) ``` edit: ok, I see that this is the new repo https://github.com/Maximilian-Winter/ToolAgents
关闭于 2025-08-19 2 条评论