Skip to content

Commit

Permalink
Call virtualenv by module instead of command
Browse files Browse the repository at this point in the history
Fix #2196.
  • Loading branch information
uranusjr committed May 15, 2018
1 parent 4b07aaa commit 55d77b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipenv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ def do_create_virtualenv(python=None, site_packages=False):
# The user wants the virtualenv in the project.
if project.is_venv_in_project():
cmd = [
'virtualenv',
sys.executable, '-m', 'virtualenv',
project.virtualenv_location,
'--prompt=({0})'.format(project.name),
]
Expand Down

0 comments on commit 55d77b2

Please sign in to comment.