# Dependency conflict error messages
Updates after feedback from @pradyunsg and @uranusjr
Note: It is not _currently_ possible to display the dependency tree, but pip does know the _parent_ of the conflicting package (or if no parent exists)
Accordingly, we should update the messages to be:
## Conflict caused by dependencies
```
ERROR: Cannot install package_1 and package_2 because these package
versions have conflicting dependencies.
The conflict is caused by:
package_1 2.3 requires package_3>2.0
package_2 1.0 requires package_3<2.0
To fix this you could try to:
- loosen the range of package versions you've specified
- remove package versions to allow pip to attempt to solve the
dependency conflict
- ask the package maintainers to loosen their dependencies
ERROR: ResolutionImpossible For help visit: https://pip.pypa.io/en/st
able/user_guide/#dependency-conflicts-resolution-impossible
```
## Conflict includes top level requirement
```
ERROR: Cannot install package_2 and package_3 because these package
versions have conflicting dependencies.
The conflict is caused by:
package_2 1.0 requires package_3<2.0
package_3>2.0 is required by you
To fix this you could try to:
- loosen the range of package versions you've specified
- remove package versions to allow pip to attempt to solve the
dependency conflict
- ask the package maintainers to loosen their dependencies
ERROR: ResolutionImpossible For help visit: https://pip.pypa.io/en/st
able/user_guide/#dependency-conflicts-resolution-impossible
```
## Package conflicting with itself
```
ERROR: Cannot install package_1 because of conflicting dependencies.
The conflict is caused by:
package_1 requires package_3<2.0
package_1 requires package_3>2.0
To fix this you could try to:
- ask the package maintainers to fix the conflict
ERROR: ResolutionImpossible For help visit: https://pip.pypa.io/en/st
able/user_guide/#dependency-conflicts-resolution-impossible
```