diff --git a/metaflow/plugins/pypi/pip.py b/metaflow/plugins/pypi/pip.py index cb324bb7d8..5aeb03ec5f 100644 --- a/metaflow/plugins/pypi/pip.py +++ b/metaflow/plugins/pypi/pip.py @@ -106,9 +106,8 @@ def solve(self, id_, packages, python, platform): except PipPackageNotFound as ex: # pretty print package errors raise PipException( - "Could not find a binary distribution for %s \n" - "for the platform %s\n\n" - "Note that ***@pypi*** does not currently support source distributions" + "Unable to find a binary distribution compatible with %s for %s.\n\n" + "Note: ***@pypi*** does not currently support source distributions" % (ex.package_spec, platform) )