From 95ab4fe4ce4f4fb71128c2df452621af37a7d34b Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 14 Sep 2017 13:18:05 -0400 Subject: [PATCH] windows Signed-off-by: Kenneth Reitz --- pipenv/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pipenv/utils.py b/pipenv/utils.py index 47dce7b9..9b91a371 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -28,9 +28,11 @@ def python_version(path_to_python): print(path_to_python) try: TEMPLATE = 'Python {}.{}.{}' + print('{0} --version'.format(path_to_python)) c = delegator.run('{0} --version'.format(path_to_python), block=False) c.return_code == 0 - except Exception: + except Exception as e: + print(e) return None output = c.out.strip() or c.err.strip()