How to just show conflicts only? #401
-
How to just show conflicts only instead of both conflicts and all dependences trees? I just care about what the conflicts are, and the output is too long to see conflicts at once. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
We don't expose an option to hide the dependency trees, but we do write warning messages to stderr. So, assuming you are using bash, you can do the following to avoid writing the dependency trees to stdout: pipdeptree > /dev/null |
Beta Was this translation helpful? Give feedback.
-
related questions, it that possible to compute the conflicts from an external requirements.txt file, without installing it?
|
Beta Was this translation helpful? Give feedback.
-
Currently this is not possible. The way it works is that we scan your environment for package metadata, and then snatch the installed version metadata to check if it does not match the version specifier associated to the requirements that share the same package name as the installed one. |
Beta Was this translation helpful? Give feedback.
-
thanks for the answer @kemzeb. do you know a tool which would do so? |
Beta Was this translation helpful? Give feedback.
We don't expose an option to hide the dependency trees, but we do write warning messages to stderr. So, assuming you are using bash, you can do the following to avoid writing the dependency trees to stdout:
pipdeptree > /dev/null