From 434dd9599d48dbd761b49892249875c19fcf2053 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 11 Mar 2017 22:26:29 -0500 Subject: [PATCH] windows warning --- pipenv/cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pipenv/cli.py b/pipenv/cli.py index 7ca254c5..9ce8b34c 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -341,6 +341,10 @@ def do_create_virtualenv(three=None, python=None): elif three is True: python = 'python3' + # Windows! + if os.name == 'nt': + click.echo('{0} If you are running on Windows, you should use the {1} option instead.'.format(crayons.red('Warning!'), crayons.green('--python'))) + if python: cmd = cmd + ['-p', python]