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.

浙公网安备 33010602011771号