pipenv icon indicating copy to clipboard operation
pipenv copied to clipboard

Message "Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies." is not always right

Open Kroppeb opened this issue 6 months ago • 2 comments

I have encountered the following message a few times:

Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.

Some other cases I remember:

  • The package being installed doesn't provide the modules it claims it does (we had a typo)
  • The package has dependencies in form of package @ url where the url is invalid.

The suggestion to use pipenv run pip install <requirement_name> does work, as it gives a more usable error. But is a bit useless when you don't know which dependency is causing the issue.

Kroppeb avatar Feb 12 '24 16:02 Kroppeb