-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Show the detailed error when facing invalid requirements #12713
Comments
@stonebig as for a solution, you'll need to update the requirement to not include the |
I did it. I had the precise error message with the position. |
so me puting only the first line of the error miss-leaded you. you may close this one |
@stonebig what command did you use precisely? Because when I tried, the pip install command above did not report the error details. |
... time to figure out I had temporarly fell back to pip-24.0. so with Pip-24.1b1, the method is
generating:
and no line below. |
Ok, thanks. I created #12715 to improve the error message. |
Description
From #12691 (comment)
pip install --dry-run "python-hdf4>=0.10.0+dummy"
printsERROR: Invalid requirement: 'python-hdf4>=0.10.0+dummy'
.Expected behavior
The detailed, more informative error should be printed:
pip version
24.1b1
Python version
any
OS
any
How to Reproduce
pip install --dry-run "python-hdf4>=0.10.0+dummy"
Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: