From b6aa5c8c61573361fd398ea60aa3cee4a787a975 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 28 Sep 2017 12:57:51 -0400 Subject: [PATCH] exit when python installation appears to fail --- pipenv/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pipenv/cli.py b/pipenv/cli.py index d4d9d81e..0b98025a 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -525,6 +525,7 @@ def ensure_python(three=None, python=None): crayons.normal('PATH', bold=True) ), err=True ) + sys.exit(1) return path_to_python