Leon-Sander / local_multimodal_ai_chat

GNU General Public License v3.0
117 stars 73 forks source link

About llama-cpp-python chroma-hnswlib #29

Open Sricharan01 opened 1 month ago

Sricharan01 commented 1 month ago

C:\Windows\System32>pip install llama-cpp-python WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages) Collecting llama-cpp-python Using cached llama_cpp_python-0.2.87.tar.gz (80.5 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: typing-extensions>=4.5.0 in c:\python312\lib\site-packages (from llama-cpp-python) (4.12.2) Requirement already satisfied: numpy>=1.20.0 in c:\python312\lib\site-packages (from llama-cpp-python) (1.26.4) Collecting diskcache>=5.6.1 (from llama-cpp-python) Using cached diskcache-5.6.3-py3-none-any.whl.metadata (20 kB) Collecting jinja2>=2.11.3 (from llama-cpp-python) Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB) Collecting MarkupSafe>=2.0 (from jinja2>=2.11.3->llama-cpp-python) Using cached MarkupSafe-2.1.5-cp312-cp312-win_amd64.whl.metadata (3.1 kB) Using cached diskcache-5.6.3-py3-none-any.whl (45 kB) Using cached jinja2-3.1.4-py3-none-any.whl (133 kB) Using cached MarkupSafe-2.1.5-cp312-cp312-win_amd64.whl (17 kB) 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.10.1 using CMake 3.30.2 (wheel) Configuring CMake... 2024-08-09 18:28:47,042 - 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\renis\AppData\Local\Temp\tmp9pb_9nzq\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: ERROR: Failed to build installable wheels for some pyproject.toml based projects (llama-cpp-python)

Sricharan01 commented 1 month ago

what is the exact issue here!! I appreciate your assistance.

Thanks in advance