help pls
(localGPT) C:\Users\ra\privateGPT>poetry install --with local
Installing dependencies from lock file
Package operations: 1 install, 0 updates, 0 removals
β’ Installing llama-cpp-python (0.2.23): Failed
ChefBuildError
Backend subprocess exited when trying to invoke build_wheel
*** scikit-build-core 0.8.0 using CMake 3.28.1 (wheel)
*** Configuring CMake...
2024-01-28 22:52:33,868 - 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\ra\AppData\Local\Temp\tmpdj5n8yup\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
at ~\localGPT\Lib\site-packages\poetry\installation\chef.py:164 in _prepare
160β
161β error = ChefBuildError("\n\n".join(message_parts))
162β
163β if error is not None:
β 164β raise error from None
165β
166β return path
167β
168β def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
Note: This error originates from the build backend, and is likely not a problem with poetry but with llama-cpp-python (0.2.23) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "llama-cpp-python (==0.2.23)"'.