-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Installation]: pip install vllm-0.6.2.zip err:setuptools-scm was unable to detect version for /tmp/pip-req-build-7ptioibj #9182
Comments
err: Processing vllm-0.6.2.zip × Getting requirements to build wheel did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. × Getting requirements to build wheel did not run successfully. |
cc @dtrifiro |
Are you trying to build from source? If so, the error is telling you what's wrong:
Which can be solved by installing from a git+https ref:
If you're not trying to build from source, I recommend installing the prebuilt wheel |
Hmm can we still make this workflow work? I would imagine there are folks trying to vendor vLLM without git. |
The right way to provide a tarball, is building a source distribution: python setup.py sdist
# or, if using modern tools:
python -m build --sdist this will create a tar archive which can be built. It will look something like this: Another approach would be hacking try:
version = get_version(
write_to="vllm/_version.py", # TODO: move this to pyproject.toml
)
except LookupError:
version = "0.0.0" Although this is not ideal:
|
We do provide the tarball on PyPI |
@dtrifiro This issue exsited in 0.6.3 docker image.
|
Your current environment
How you are installing vllm
Before submitting a new issue...
The text was updated successfully, but these errors were encountered: