abetlen / abetlen/llama-cpp-python

Issue with Installing llama-cpp-python 0.3.7: Dependency Problems with scikit-build-core

Đang mở
#1,965 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
10.6k
Fork
1.4k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

**Issue:**

I am trying to update llama-cpp-python to the latest version (0.3.7) to test the latest Distill version models of DeepSeek, such as DeepSeek r1 Distil Qwen.

However, I am attempting to install the new version on a machine without internet access, so I need to use either .whl or .tar.gz files for installation. When I try to install the package using the command:

`pip install --no-deps llama_cpp_python-0.3.7.tar.gz --no-index`

I encounter the following error:

`ERROR: Command errored out with exit status 1:
command: path/to/venv/venv25/bin/python3.9 /tmp/pip-standalone-pip-h__cs18z/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-bfjikpzp/overlay --no-warn-script-location --no-binary :none: --only-binary :none: --no-index -- 'scikit-build-core[pyproject]>=0.9.2'
cwd: None
Complete output (2 lines):
ERROR: Could not find a version that satisfies the requirement scikit-build-core[pyproject]>=0.9.2 (from versions: none)
ERROR: No matching distribution found for scikit-build-core[pyproject]>=0.9.2

WARNING: Discarding file://path/to/venv/llama_cpp_python-0.3.7.tar.gz. Command errored out with exit status 1: path/to/venv/venv25/bin/python3.9 /tmp/pip-standalone-pip-h__cs18z/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-bfjikpzp/overlay --no-warn-script-location --no-binary :none: --only-binary :none: --no-index -- 'scikit-build-core[pyproject]>=0.9.2' Check the logs for full command output.
ERROR: Command errored out with exit status 1: path/to/venv/venv25/bin/python3.9 /tmp/pip-standalone-pip-h__cs18z/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-bfjikpzp/overlay --no-warn-script-location --no-binary :none: --only-binary :none: --no-index -- 'scikit-build-core[pyproject]>=0.9.2' Check the logs for full command output.
`
**Environment:**

Python 3.9

I have already installed scikit-build-core version 0.11.0, as confirmed by the following output from pip show scikit-build-core:

`Name: scikit_build_core
Version: 0.11.0
Summary: Build backend for CMake based projects
Location: path/to/venv/venv25/lib/python3.9/site-packages
Requires: pathspec, tomli, exceptiongroup, packaging
Required-by:
`
Additionally, I have manually installed all the required dependencies, but the issue persists.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.