diff --git a/pipenv/cli.py b/pipenv/cli.py index 37ce4d94..7a523a97 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -346,6 +346,11 @@ def parse_install_output(output): fname = r['file'].split(os.sep)[-1] + # Pip output for "Saved" on Windows has a "./" appended at the + # front which doesn't match the os.sep ("\") for the system. + if fname.startswith('./'): + fname = fname[2:] + # Unencode percent-encoded values like ``!`` in version number. fname = requests.compat.unquote(fname)