Skip to content

Commit

Permalink
Call virtualenv by module instead of command
Browse files Browse the repository at this point in the history
Fix #2194.
  • Loading branch information
uranusjr committed May 15, 2018
1 parent 8078d1d commit cab9e30
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 @@ -890,7 +890,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 cab9e30

Please sign in to comment.