From 924f741f596ed85ce73e5f90e71148a89fe1fc5a Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 14 Sep 2017 13:08:40 -0400 Subject: [PATCH] maybe this is what's wrong with windows Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index 3d26f092..b1168bbe 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -1051,7 +1051,7 @@ def system_which(command): assert c.return_code == 0 except AssertionError: return None - return c.out.strip() + return (c.out.strip() or c.err.strip()) def format_help(help):