mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Default to python 3.6 if no python version passed
This commit is contained in:
+1
-1
@@ -976,7 +976,7 @@ def do_create_virtualenv(python=None, site_packages=False):
|
||||
cmd = [sys.executable, '-m', 'pipenv.pew', 'new', project.virtualenv_name, '-d']
|
||||
|
||||
if not python:
|
||||
python = find_a_system_python('python')
|
||||
python = find_a_system_python('3.6') or find_a_system_python('3') or sys.executable
|
||||
|
||||
click.echo(u'{0} {1} {2}'.format(
|
||||
crayons.normal('Using', bold=True),
|
||||
|
||||
Reference in New Issue
Block a user