mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Issue #19734: venv still needs isolated mode
This commit is contained in:
parent
6fd12f2b33
commit
1631b9b4b5
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ class EnvBuilder:
|
|||
# We run ensurepip in isolated mode to avoid side effects from
|
||||
# environment vars, the current directory and anything else
|
||||
# intended for the global Python environment
|
||||
cmd = [context.env_exe, '-m', 'ensurepip', '--upgrade',
|
||||
cmd = [context.env_exe, '-Im', 'ensurepip', '--upgrade',
|
||||
'--default-pip']
|
||||
subprocess.check_output(cmd, stderr=subprocess.STDOUT)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue