Fork me on github

pip install llama-cpp-python报错 未解决

法1:pip install llama-cpp-python==0.3.2(安装报错)

法2:pip install llama-cpp-python==0.1.48(安装报错)

法3(无效)

1.安装 Microsoft C++ Build Tool

 配置环境变量

path中新增 C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.43.34808\bin\Hostx64\x64

验证是否安装成功

 

2.安装cmake

教程 https://blog.csdn.net/didi_ya/article/details/123029415

包 https://blog.csdn.net/m0_67354408/article/details/130619542

验证是否安装成功

pip install llama-cpp-python --no-binary :all:

 

pip install llama-cpp-python --only-binary=:all:

 

pip install llama-cpp-python --prefer-binary

 

pip install llama-cpp-python --no-binary=:all:
pip install path_to_wheel_file.whl

报错

 path_to_wheel_file.whl is not a valid wheel filename.

 

posted @ 2025-03-06 18:00  我の前端日记  阅读(599)  评论(0)    收藏  举报
Copyright © 2021 LinCangHai
Powered by .NET 5.0 on Kubernetes