From ce6771c3d437dbd31ac38af21510f23e9a4dc752 Mon Sep 17 00:00:00 2001 From: yuzhujiutian Date: Sun, 2 Aug 2020 10:26:50 +0800 Subject: [PATCH] bugfix 4388 --- pipenv/core.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pipenv/core.py b/pipenv/core.py index d196d9f2..3403947d 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -2733,8 +2733,9 @@ def do_graph(bare=False, json=False, json_tree=False, reverse=False): except RuntimeError: pass else: - python_path = vistir.compat.Path(python_path).as_posix() - pipdeptree_path = vistir.compat.Path(pipdeptree_path).as_posix() + if not os.name == 'nt': # bugfix #4388 + python_path = vistir.compat.Path(python_path).as_posix() + pipdeptree_path = vistir.compat.Path(pipdeptree_path).as_posix() if reverse and json: click.echo(