Commit 9ce7c646 authored by Nick Coghlan's avatar Nick Coghlan

Issue #19734: venv still needs isolated mode

parent a807dd9f
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment