abetlen / abetlen/llama-cpp-python

Could not Install llama-cpp-python

未关闭
#1,216 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
10.6k
派生
1.4k
PR 合并指标
PR 指标待抓取

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。