Unclear error message when requirements conflict #8361
Labels
C: dependency resolution
About choosing which dependencies to install
C: error messages
Improving error messages
state: needs eyes
Needs a maintainer/triager to take a closer look
I am testing out the resolver in pip 20.2b and found that while it is able to identify conflicts/incompatible versions, the error message even for simple cases is not very clear - as an example:
Astropy 4.0 requires Numpy >=1.16, so specifying explicitly numpy<1.16 leads to an error (as it should) - but the error message is not very clear (especially the last line which complains about numpy four times). As a user, I would ideally expect to see an error message along the lines of
'astropy>4.0' requires numpy>=1.16 which is incompatible with 'numpy<1.16'
or something like this.To be clear, in this situation the resolver is working fine, and in a case such as the following it does find combinations that work:
So this issue is mainly to request more readable error output for cases where it doesn't work (to avoid the issue of conda resolution conflict logs which are unparsable by users).
The text was updated successfully, but these errors were encountered: