abetlen / abetlen/llama-cpp-python

Could not Install llama-cpp-python

Abierto
#1,216 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
10.6k
Forks
1.4k
Métricas de merge de PR
Métricas de PR pendientes

Descripción

i am installing llama-cpp-python for privategpt, after following the instructions i was getting few errors one of the error was privategpt requires llama-cpp-python at several process
so I started installing llama-cpp-python using pip command after several issue with not having c++ compilers , i downloaded w64devkit as per the instruction in github repository , after installing when i ran pip install llama-cpp-python , now i getting this error

`
C:\w64devkit\bin/ld.exe: C:/w64devkit/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libpthread.a(libwinpthread_la-thread.o):thread.c:(.text+0x103f): multiple definition of `pthread_self'; ../../libllama.dll.a(libllama_dll_d000862.o):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
make[2]: *** [vendor\llama.cpp\examples\llava\CMakeFiles\llava-cli.dir\build.make:105: vendor/llama.cpp/examples/llava/llava-cli.exe] Error 1
make[2]: Leaving directory 'C:/Users/Vicky/AppData/Local/Temp/tmpww6tixp5/build'
make[1]: *** [CMakeFiles\Makefile2:388: vendor/llama.cpp/examples/llava/CMakeFiles/llava-cli.dir/all] Error 2
make[1]: Leaving directory 'C:/Users/Vicky/AppData/Local/Temp/tmpww6tixp5/build'
*** CMake build 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
ct.toml-based projects
`
help me to fix this error

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.