-
Notifications
You must be signed in to change notification settings - Fork 762
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
Installing from local wheel fails when using pip install <path> #1403
Comments
Apoligies, didnt see that (I didnt know a local path counted as a URL dependency, although I guess that makes sense!). The + works fine when the fully specified package @ path is given, so I think this can be closed as duplicate in that case. |
Okay thanks! |
This is supported as of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is occuring when installing a package with cuda version specified with
+cu117
in the wheel name, e.g. fordetectron2
ortorch
To repro:
cp botocore-1.34.43-py3-none-any.whl botocore-1.34.43+cu117-py3-none-any.whl
uv pip install ./botocore-1.34.43+cu117-py3-none-any.whl
# fails withExpected package name starting with an alphanumeric character
uv pip install botocore-1.34.43+cu117-py3-none-any.whl
# fails withURL requirement must be preceded by a package name.
Because botocore-1-34-43-py3-none-any-whl was not found in the package registry and you require botocore-1-34-43-py3-none-any-whl, we can conclude that the requirements are unsatisfiable.
All of the above works with
pip
just fine, it would be great if it did!Note that
uv pip install "botocore @ ./botocore-1.34.43+cu117-py3-none-any.whl"
anduv pip install "botocore @ file:////botocore-1.34.43-py3-none-any.whl"
work just fine, but this is a little unintuitive compared the behaviour frompip
The text was updated successfully, but these errors were encountered: